/* ===== GUN DOGS MARKET - MAIN STYLES ===== */
/* Author: Gun Dogs Market Team */
/* Version: 1.1 */


/* Media Count Styles */
.media-count {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.media-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--text-size);
    color: #64748b;
    background: rgba(22, 163, 74, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.media-icon {
    width: 12px;
    height: 12px;
    color: #16a34a;
}

.featured-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.featured-details .detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 600;
    color: #aaaaaa;
}

.featured-details .detail-item svg {
    width: 18px;
    height: 18px;
    color: #aaaaaa;
}

.featured-seller {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seller-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #f5e7c3 0%, #c9a037 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seller-avatar svg {
    width: 18px;
    height: 18px;
    color: #0b5b36;
}

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

.seller-name {
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    color: #0b5b36;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    font-size: 0.8rem;
}

.rating-text {
    font-size: var(--text-size);
    color: #64748b;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: var(--text-size);
    font-weight: var(--font-weight);
}

.verified-badge svg {
    width: 12px;
    height: 12px;
}

.no-listings {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-listings-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-listings-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5e7c3 0%, #c9a037 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.no-listings-icon svg {
    width: 40px;
    height: 40px;
    color: #0b5b36;
}

.no-listings h3 {
    font-size: var(--text-size);
    color: #0b5b36;
    margin-bottom: 1rem;
}

.no-listings p {
    color: #64748b;
    margin-bottom: 2rem;
}

.browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0b5b36 0%, #c9a037 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: var(--font-weight);
    transition: all var(--transition);
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 91, 54, 0.3);
    color: white;
}

.featured-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}


.featured-cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition);
}

.featured-cta-btn:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .featured-section {
        padding: 60px 0;
    }

    .featured-header .section-subtitle {
        font-size: 1rem;
    }

    .featured-stats {
        gap: 1.5rem;
    }

    .featured-stat .stat-number {
        font-size: 2rem;
    }

    .featured-content {
        padding: 1rem;
    }
}







@media (max-width: 768px) {
    .cta-card {
        padding: 3rem 1.5rem;
        border-radius: var(--radius);
    }

    .cta-card h3 {
        font-size: 22px;
    }

    .cta-description {
        font-size: 16px;
    }

    .cta-stat {
        padding: 10px 15px;
        max-width: 190px;
        width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}



/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        margin-bottom: 1rem;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0 0;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }

    .footer-stats {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-badges {
        justify-content: center;
    }

    .footer-badges .badge {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-social {
        justify-content: center;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-btn {
        border-radius: 0 0 8px 8px;
    }

    .footer-stats {
        gap: 1rem;
    }

    /* Improve footer navigation on mobile */
    .footer-nav a {
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        padding: 0px;
    }

    .footer-nav a:hover {
        padding-left: 0.75rem;
    }
}

.my-account {
    min-height: calc(100vh - 152px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0px;
}

.account-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(201, 160, 55, 0.1),
        0 1.5px 8px rgba(11, 91, 54, 0.08);
    max-width: 500px;
    width: 100%;
    margin: 0px auto;
    padding: 2rem;
}

.account-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-logo {
    font-size: 2.2rem;
    font-weight: var(--font-weight);
    background: linear-gradient(135deg, #c9a037 0%, #0b5b36 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 0px;
}

.account-title {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 2rem;
}

.account-status {
    background: #f5e7c3;
    color: #0b5b36;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1rem;
}

.account-form input[type="email"],
.account-form input[type="password"] {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-lg);
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s;
    margin: 0px;
}

.account-form input[type="email"]:focus,
.account-form input[type="password"]:focus {
    border-color: #16a34a;
    background: #fff;
    outline: none;
}

.account-form .input-error {
    border-color: #c9a037 !important;
    background: #fffbe6 !important;
}

.account-form .error-message {
    color: #c0392b;
    font-size: var(--text-size);
    margin: 5px 0 0 0;
}

.account-form-row {
    margin: 0px;
}

.account-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px;
}

.account-form-options label {
    display: flex;
    align-items: center;
    font-size: 0.98rem;
    color: #64748b;
    font-weight: 400;
}

.account-form-options input[type="checkbox"] {
    accent-color: #16a34a;
    margin-right: 0.5rem;
}

.account-form-options a {
    color: #c9a037;
    font-weight: var(--font-weight);
    text-decoration: none;
    font-size: 0.98rem;
}

.account-form button[type="submit"] {
    width: 100%;
    background: linear-gradient(135deg, #16a34a 0%, #166534 100%);
    color: #fff;
    font-weight: var(--font-weight);
    padding: 0.9rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.13);
    letter-spacing: var(--letter-spacing);
    transition: background 0.2s;
    cursor: poInter;
}

.account-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #0b5b36 0%, #c9a037 100%);
}

.account-register-link {
    margin: 0px;
    text-align: center;
    color: #64748b;
    font-size: 1rem;
}

.account-register-link a {
    color: #16a34a;
    font-weight: var(--font-weight);
    text-decoration: none;
}

@media (max-width: 480px) {
    .account-card {
        padding: 1.5rem 0.5rem;
    }

    .account-logo {
        font-size: var(--text-size);
    }
}

.custom-checkbox {
    position: relative;
    padding-left: 2rem;
    cursor: poInter;
    font-size: 0.98rem;
    color: #64748b;
    user-select: none;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: poInter;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1.2rem;
    width: 1.2rem;
    background: #fff;
    border: 2px solid #c9a037;
    border-radius: 6px;
    transition: background 0.2s, border-color 0.2s;
    box-shadow: 0 1px 4px rgba(201, 160, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-checkbox input[type="checkbox"]:checked~.checkmark {
    background: linear-gradient(135deg, #16a34a 0%, #c9a037 100%);
    border-color: #16a34a;
}

.custom-checkbox .checkmark:after {
    content: "";
    display: none;
    position: absolute;
    left: 0.35rem;
    top: 0.1rem;
    width: 0.3rem;
    height: 0.6rem;
    border: solid #fff;
    border-width: 0 0.18rem 0.18rem 0;
    transform: rotate(45deg);
}

.custom-checkbox input[type="checkbox"]:checked~.checkmark:after {
    display: block;
}

.pricing-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0 70px 0px;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight);
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #c9a037 0%, #0b5b36 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing) * 2);
    margin-bottom: 0px;
    position: relative;
}

.pricing-card-header {
    font-weight: 500;
    padding: var(--spacing);
    text-align: center;
    border-radius: var(--radius);
    text-transform: uppercase;
    color: #000000;
    width: 100%;
}

.pricing-card-header.free {
    background: linear-gradient(135deg, #f5e7c3 0%, #c9a037 100%);
}

.pricing-card-price {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    color: #0b5b36;
    display: flex;
    align-items: center;
    gap: .25rem;
}

.pricing-card-price span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.pricing-features {
    font-size: 16px;
    list-style: none;
    padding: 0;
    color: #64748b;
    text-align: start;
    margin: 0;
    min-height: 200px;
}

.pricing-features li {
    margin-bottom: 0.7rem;
    padding-left: 1.2rem;
    position: relative;
}

.pricing-features li:before {
    content: "✓";
    color: #16a34a;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.pricing-features li:last-child {
    margin: 0px;
}

.pricing-btn {
    width: 100%;
}

@media (max-width: 800px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        max-width: 400px;
        width: 100%;
    }
}

/* Photo Count Badge */
.photo-count-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 2;
}

.photo-count-icon {
    width: 12px;
    height: 12px;
}


/* Breed Type */
.breed-type {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: var(--letter-spacing);
    color: #0b5b36;
}

/* Checkmark Icons */
.detail-icon.checkmark {
    color: #10b981;
}

/* Listing Show Page Styles */
.listing-single {
    background: #f8fafc;
    min-height: 100vh;
}

.listing-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 1.5rem;
    margin: 0 auto;
}

.main-image:hover {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}

.zoom-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: poInter;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}



.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: poInter;
    border: 2px solid transparent;
    transition: all var(--transition);
    object-fit: cover;
}

.thumbnail.active {
    border-color: #0b5b36;
    box-shadow: 0 0 0 2px rgba(11, 91, 54, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Price Section */


/* Detailed Information */

.info-item,
.health-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
}

.info-value,
.health-value {
    color: #6b7280;
    font-weight: var(--font-weight);
}

/* Description */
.description-content {
    line-height: var(--line-height);
    color: #374151;
    font-size: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0b5b36 0%, #c9a037 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-content {
    flex: 1;
}

.feature-label {
    display: block;
    font-weight: var(--font-weight);
    color: #374151;
    margin-bottom: 0.25rem;
}

.feature-value {
    color: #6b7280;
    font-size: var(--text-size);
}

/* Breed Info */
.listing-details .breed-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
}

.listing-details .breed-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.listing-details .breed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-details .breed-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5e7c3 0%, #c9a037 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b5b36;
}

.listing-details .breed-text h4 {
    font-family: var(--font-family-secondary);
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.listing-details .breed-text p {
    color: #6b7280;
    line-height: var(--line-height);
    margin-bottom: 1rem;
}

.listing-details .breed-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.listing-details .stat {
    background: rgba(11, 91, 54, 0.1);
    color: #0b5b36;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: var(--font-weight);
}

/* Sidebar */
/* Buyer's Checklist */
.buyers-checklist {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.buyers-checklist h4 {
    font-family: var(--font-family-secondary);
    font-size: 1.1rem;
    font-weight: var(--font-weight);
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.buyers-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.buyers-checklist li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-size: var(--text-size);
}

.buyers-checklist li:last-child {
    border-bottom: none;
}

.buyers-checklist li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .listing-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .listing-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .listing-single {
        padding: 1rem 0;
    }

    .listing-details {
        padding: 1.5rem;
    }

    .listing-title {
        font-size: var(--text-size);
    }

    .price-actions {
        width: 100%;
        justify-content: space-between;
    }

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

    .breed-card {
        flex-direction: column;
        text-align: center;
    }

    .breed-image {
        margin: 0 auto;
    }

    .listing-meta {
        gap: 1rem;
    }
}

/* Similar Listings Section - Using Home Page Design */
.related-listings {
    background: #f8fafc;
    padding: 4rem 0;
    margin-top: 3rem;
}

.related-listings .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.related-listings .section-title {
    font-family: var(--font-family-secondary);
    font-size: 2.5rem;
    font-weight: var(--font-weight);
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: var(--line-height);
    letter-spacing: -0.025em;
}

.related-listings .section-subtitle {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: var(--text-size);
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height);
}

.related-listings .featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design for Similar Listings */
@media (max-width: 1024px) {
    .related-listings .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .related-listings {
        padding: 3rem 0;
    }

    .related-listings .section-title {
        font-size: 2rem;
    }

    .related-listings .section-subtitle {
        font-size: 1rem;
    }

    .related-listings .featured-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .related-listings {
        padding: 2rem 0;
    }

    .related-listings .section-header {
        margin-bottom: 2rem;
    }
}

/* Breed Info - Make this more specific for listing pages */
.listing-details .breed-card,
.listing-content .breed-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
}

.listing-details .breed-image,
.listing-content .breed-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.listing-details .breed-image img,
.listing-content .breed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-details .breed-placeholder,
.listing-content .breed-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5e7c3 0%, #c9a037 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b5b36;
}

.listing-details .breed-text h4,
.listing-content .breed-text h4 {
    font-family: var(--font-family-secondary);
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.listing-details .breed-text p,
.listing-content .breed-text p {
    color: #6b7280;
    line-height: var(--line-height);
    margin-bottom: 1rem;
}

.listing-details .breed-stats,
.listing-content .breed-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.listing-details .stat,
.listing-content .stat {
    background: rgba(11, 91, 54, 0.1);
    color: #0b5b36;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: var(--font-weight);
}

/* Unique Card Designs for Each Section */

/* 1. Listing Details Cards - Modern Info Cards */
.detailed-info .info-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.detailed-info .info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #0b5b36 0%, #c9a037 100%);
}

/* 3. Breed Information Card - Premium Style */
.breed-info .breed-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #fef3c7 100%);
    border: 2px solid #dcfce7;
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(11, 91, 54, 0.1);
}

.breed-info .breed-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 160, 55, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.breed-info .breed-card:hover {
    border-color: #c9a037;
}

.breed-info .breed-image {
    border: 3px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all var(--transition);
}

.breed-info .breed-card:hover .breed-image {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* 4. Contact Card - Professional Style */

/* 7. Related Listings Cards - Premium Grid Style */
.related-listings .featured-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.related-listings .featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0b5b36 0%, #c9a037 100%);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.related-listings .featured-card:hover::before {
    transform: scaleX(1);
}

.related-listings .featured-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.related-listings .featured-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.related-listings .featured-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5e7c3 0%, #c9a037 100%);
    transition: all 0.4s ease;
}

.related-listings .featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.related-listings .featured-content {
    padding: 24px;
    background: white;
}

.related-listings .featured-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight);
    color: #1f2937;
    margin-bottom: 12px;
    line-height: var(--line-height);
}

/* 8. Features Grid Cards - Modern Feature Cards */
.features-grid .feature-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.features-grid .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0b5b36 0%, #c9a037 100%);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.features-grid .feature-item:hover::before {
    transform: scaleX(1);
}

.features-grid .feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(11, 91, 54, 0.15);
    border-color: #0b5b36;
}

.features-grid .feature-icon {
    background: linear-gradient(135deg, #0b5b36 0%, #c9a037 100%);
    border-radius: var(--radius);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(11, 91, 54, 0.3);
    transition: all var(--transition);
}

.features-grid .feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(11, 91, 54, 0.4);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

/* Responsive adjustments for unique cards */
@media (max-width: 768px) {

    .detailed-info .info-item,
    .health-documentation .health-item,
    .breed-info .breed-card,
    .contact-card,
    .stats-card,
    .buyers-checklist {
        margin-bottom: 16px;
    }

    .related-listings .featured-card:hover {
        transform: translateY(-4px) scale(1.01);
    }
}

/* Card-based Layout for Listing Sections */
.listing-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}



/* Media Layout - Single Column */
.listing-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

/* Listing Header Card */
.listing-header-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin: 75px 0 32px 0;
}

/* Sidebar Cards - Stacked Vertically */
.listing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 24px;
    height: fit-content;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stats-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stats-pattern)"/></svg>');
    poInter-events: none;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Buyer's Checklist Card */
.buyers-checklist {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.buyers-checklist::before {
    content: '⚠️';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: var(--text-size);
    opacity: 0.3;
}

.buyers-checklist:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #f59e0b;
}

/* Report Section Card */


/* Responsive Design */
@media (max-width: 1024px) {
    .listing-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .listing-sidebar {
        position: static;
        order: 2;
    }

    .listing-main {
        order: 1;
    }
}

/* Auth Link Styles */
.auth-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #166534;
    text-decoration: none;
    font-weight: var(--font-weight);
    font-size: var(--text-size);
}

.auth-link svg {
    transition: transform var(--transition);
}

.auth-link:hover svg {
    transform: scale(1.1);
}

/* Responsive design for auth link */
@media (max-width: 768px) {
    .auth-link {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .auth-link {
        font-size: 0.8rem;
        padding: 5px 8px;
    }
}

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing);
    flex-shrink: 0;
    min-width: 0;
    position: relative;
}

.header-actions .mobile-search-toggle {
    order: 1;
}

.header-actions .auth-link {
    order: 2;
}

.header-actions .btn {
    order: 3;
    position: relative;
}

/* Auth Menu */
.auth-menu {
    position: relative;
    display: block !important;
    visibility: visible !important;
}

.auth-menu-toggle {
    width: 48px;
    height: 44px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    display: flex;
    padding: 0px;
}

.auth-menu-toggle:hover {
    color: #16a34a;
    border-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.auth-menu-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.auth-menu-toggle:hover::before {
    left: 100%;
}

.auth-menu-toggle:active {
    transform: scale(0.95);
}

.auth-menu-toggle:focus {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
    box-shadow: var(--shadow);
}

.auth-menu-toggle svg {
    fill: #159746;
}

.auth-menu-toggle:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(22, 163, 74, 0.2));
}

.auth-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 1004;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    margin-top: 0.5rem;
    display: block;
}

.auth-menu.active .auth-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
    overflow: hidden;
}

.auth-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.auth-dropdown-link:hover {
    background: #f0fdf4;
    color: #16a34a;
}

.auth-dropdown-link svg {
    transition: transform var(--transition);
}

.auth-dropdown-link:hover svg {
    transform: scale(1.1);
}

.auth-link:hover {
    color: #16a34a;
    border-color: #16a34a;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(22, 163, 74, 0.15), 0 4px 8px rgba(22, 163, 74, 0.1);
}

.auth-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.auth-link:hover::before {
    left: 100%;
}

.auth-link svg {
    transition: all var(--transition);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.auth-link:hover svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 2px 4px rgba(22, 163, 74, 0.2));
}

.auth-link:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-link:focus {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
    box-shadow: var(--shadow);
}

.auth-link .auth-text {
    position: relative;
    z-index: 1;
    font-weight: var(--font-weight);
    letter-spacing: var(--letter-spacing);
}

.auth-link:hover .auth-text {
    text-shadow: 0 1px 2px rgba(22, 163, 74, 0.2);
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: calc(var(--spacing) * 0.25) var(--spacing);
    cursor: pointer;
    transition: all var(--transition);
    color: #374151;
    white-space: nowrap;
    min-width: 0;
}

.user-menu-toggle:hover {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #16a34a;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    overflow: hidden;
}

.user-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    transition: transform var(--transition);
}

.user-menu.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1004;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    margin-top: 0.5rem;
    display: block;
}

.user-menu.active .user-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

.dropdown-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-link:hover {
    background: #f8fafc;
    color: #16a34a;
}

.dropdown-link.logout-btn {
    color: #dc2626;
}

.dropdown-link.logout-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

.dropdown-link svg {
    width: 18px;
    height: 18px;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0;
}

.dropdown-form {
    margin: 0;
    padding: 0;
}

/* Fix the cursor typos */
.hero-btn-primary {
    cursor: pointer;
}

.hero-btn-secondary {
    cursor: pointer;
}


/* Ensure proper spacing for content above mobile nav */
@media (max-width: 991.98px) {
    .footer {
        margin-bottom: 67px; /* Space for mobile bottom nav */
    }
}

/* Hide header Post an Ad button on mobile */
@media (max-width: 991.98px) {
    .header-actions .btn-primary {
        display: none;
    }

    .header .user-name {
        display: none;
    }

    .header .dropdown-arrow {
        display: none;
    }

    /* Ensure user menu toggle is touch-friendly on mobile */
    .user-menu-toggle {
        min-height: 44px; /* iOS recommended touch target size */
        -webkit-tap-highlight-color: transparent;
    }

    /* Auth menu mobile styles */
    .auth-menu-toggle {
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }

    .auth-dropdown {
        width: calc(100% - 24px);
        right: 0;
        left: 0;
        margin: 10px 12px 0 12px;
        border-radius: var(--radius);
        border-left: none;
        border-right: none;
    }

    /* Improve touch targets for all mobile buttons */
    .mobile-menu-toggle,
    .mobile-search-toggle,
    .user-menu-toggle,
    .auth-link {
        min-height: 44px;
        min-width: 44px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    /* Improve focus states for accessibility */
    .mobile-menu-toggle:focus,
    .mobile-search-toggle:focus,
    .user-menu-toggle:focus,
    .auth-link:focus {
        outline: 2px solid #16a34a;
        outline-offset: 2px;
    }

    /* Add visual feedback for touch interactions */
    .mobile-menu-toggle:active,
    .mobile-search-toggle:active,
    .user-menu-toggle:active,
    .auth-link:active {
        transform: scale(0.95);
    }

    /* Enhanced mobile auth link styling */
    .auth-link {
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .auth-link:hover {
        background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
        box-shadow: 0 6px 12px rgba(22, 163, 74, 0.15), 0 3px 6px rgba(22, 163, 74, 0.1);
    }

    /* Improve dropdown visibility on mobile */
    .user-dropdown {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border: 1px solid #d1d5db;
    }
}

/* Ensure proper spacing for mobile */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 0;
    }
}

/* Enhanced mobile navigation responsiveness */
@media (max-width: 480px) {
    .mobile-nav-item {
        padding: 6px 4px;
    }

    .mobile-nav-item svg {
        width: 20px;
        height: 20px;
    }

    .mobile-nav-post-ad {
        padding: 10px 12px;
    }

    .mobile-nav-post-ad svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .mobile-bottom-nav {
        padding: 6px 2px;
    }

    .mobile-nav-item {
        padding: 4px 2px;
    }

    .mobile-nav-label {
        font-size: 8px;
    }

    .mobile-nav-item svg {
        width: 18px;
        height: 18px;
    }

    .mobile-nav-post-ad {
        padding: 8px 10px;
        margin: 0 2px;
    }

    .mobile-nav-post-ad svg {
        width: 16px;
        height: 16px;
    }

    .mobile-nav-post-ad .mobile-nav-label {
        font-size: 7px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 991.98px) and (orientation: landscape) {
    .mobile-nav-item {
        padding: 4px 6px;
    }

    .mobile-nav-item svg {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }
}

/* Mobile hamburger button adjustments */
@media (max-width: 480px) {
    .hamburger-line {
        width: 25px;
        height: 2px;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        height: 48px;
        min-height: unset;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
}

/* Add back the auth link styles */
.auth-link svg {
    transition: transform var(--transition);
}

.auth-link:hover svg {
    transform: scale(1.1);
}

/* Blog Page */
.blog-link {
    text-decoration: none;
}

.blogs-hero {
    background: linear-gradient(135deg, #166534 0%, #c9a037 100%);
    padding: 70px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Content Sections */
.blogs-content {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.featured-blog {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(201, 160, 55, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-blog:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(201, 160, 55, 0.15);
}

.featured-category {
    background: #c9a037;
    color: white;
    padding: calc(var(--spacing) * 0.5) var(--spacing);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: var(--font-weight);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing);
}

.read-time {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: calc(var(--spacing) * 0.5) var(--spacing);
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: var(--font-weight);
}

.featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing);
    padding: var(--spacing);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.author-avatar.small {
    width: 40px;
    height: 40px;
}

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

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 500;
    color: #0b5b36;
}

.publish-date {
    font-size: 12px;
    font-weight: 600;
    color: #aaaaaa;
}

.reading-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #64748b;
}

.featured-excerpt {
    color: #64748b;
    margin-bottom: 0px;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.tag.primary {
    background: #c9a037;
    color: white;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0b5b36;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: var(--font-weight);
    transition: all 0.2s;
    align-self: flex-start;
}

.read-more-btn:hover {
    background: #c9a037;
    transform: translateY(-2px);
}

/* Blog Grid */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: var(--spacing);
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(201, 160, 55, 0.08);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #c9a037;
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing);
}

.read-time {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: var(--font-weight);
}

.blog-content {
    padding: var(--spacing);
    display: flex;
    flex-direction: column;
    gap: var(--spacing);
}

.blog-title {
    font-size: var(--text-size);
    font-weight: 600;
    color: #000000;
    margin: 0rem;
    line-height: var(--line-height);
    min-height: 48px;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: #c9a037;
}

.blog-excerpt {
    color: #000000;
    line-height: var(--line-height);
    font-size: 14px;
    margin: 0rem;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-stats {
    font-size: 0.8rem;
    color: #64748b;
}

.newsletter-section {
    margin: 80px 0px;
}

.newsletter-card {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #14532d 100%);
    color: white;
    padding: calc(var(--spacing) + 3rem);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(201, 160, 55, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 160, 55, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing);
}

.newsletter-icon svg {
    width: 40px;
    height: 40px;
    color: #fbbf24;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing);
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-content p {
    margin: 0px;
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 375px;
    margin: 0px auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 10px 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    margin: 0;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form button {
    background: #c9a037;
    color: white;
}

.newsletter-form button:hover {
    background: #b8942f;
}

.form-note {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/* Categories Section */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: var(--spacing);
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: var(--spacing);
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(201, 160, 55, 0.08);
    transition: all var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: #c9a037;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: var(--text-size);
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: var(--line-height);
}

.category-card p {
    font-size: 14px;
    margin-bottom: 1rem;
    line-height: var(--line-height);
    color: #64748b;
}

.article-count {
    background: #f1f5f9;
    color: #475569;
    padding: 3px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-blog {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .blogs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blogs-hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: var(--text-size);
    }

    .blogs-content {
        padding: 25px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .featured-title {
        font-size: var(--text-size);
    }

    .newsletter-card {
        padding: 2rem;
    }

    .newsletter-content h3 {
        font-size: var(--text-size);
    }

    .form-group {
        flex-direction: column;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Unified Login Section */
.login-container {
    width: 100%;
    max-width: 700px;
    min-width: 320px;
    margin: auto;
}

.login-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.login-form-card {
    width: 100%;
    background: #fff;
    border-radius: var(--radius);
    padding: calc(var(--spacing) * 2);
    box-shadow: var(--shadow);
}

/* Branding / Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Crimson Text', serif;
    font-size: 1.75rem;
    font-weight: var(--font-weight);
    color: #0b5b36;
}

.logo svg {
    color: #c9a037;
}

/* Form Titles */
.form-header {
    text-align: center;
}

.form-title {
    font-family: var(--font-family-secondary);
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0 !important;
}

.form-subtitle {
    color: #6b7280;
    letter-spacing: var(--letter-spacing);
    margin: 0px 0 15px 0;
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: var(--radius);
    margin-bottom: var(--spacing);
    font-size: var(--text-size);
}

/* Form Layout */
.login-form {
    display: flex;
    flex-direction: column;
}

.input-wrapper,
.password-wrapper {
    position: relative;
}

.form-input.input-error {
    border-color: #dc2626;
    background: #fef2f2;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color var(--transition);
}

.password-toggle:hover {
    color: #374151;
    background: transparent !important;
    box-shadow: unset;
}

/* Error Messages */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: var(--font-weight);
}

.error-message::before {
    content: "⚠";
    font-size: 1rem;
}

.password-hint {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Options (Remember + Forgot) */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #374151;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    min-width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    position: relative;
    transition: all var(--transition);
}

.checkbox-input:checked+.checkbox-custom {
    background: #16a34a;
    border-color: #16a34a;
}

.checkbox-input:checked+.checkbox-custom::after {
    content: "";
    position: absolute;
    left: 3px;
    top: -1px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.875rem;
    line-height: 1.4;
}

.terms-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.terms-link:hover {
    color: var(--color-primary-dark);
}

.forgot-link {
    color: #c9a037;
    text-decoration: none;
    font-weight: var(--font-weight);
    font-size: 14px;
    transition: color var(--transition);
}

.forgot-link:hover {
    color: #b45309;
}

/* Footer */
.form-footer {
    margin-top: var(--spacing);
    text-align: center;
}

.footer .newsletter-form {
    width: 100%;
    max-width: 100%;
    margin: 0px auto;
}

.footer .newsletter-form .newsletter-input-group {
    gap: var(--spacing);
}

.divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: #fff;
    padding: 0 var(--spacing);
    color: #6b7280;
    font-size: var(--text-size);
}

.register-link {
    color: #6b7280;
    margin: 0px;
}

.register-btn {
    color: #c9a037;
    text-decoration: none;
    font-weight: var(--font-weight);
    margin-left: 0.25rem;
    transition: color var(--transition);
}

.register-btn:hover {
    color: #b45309;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-form-card {
        padding: 2rem;
    }

    .form-title {
        font-size: var(--text-size);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .login-form-card {
        padding: 1.5rem;
    }

    .logo {
        margin: 0px !important;
    }

    .form-title {
        font-size: var(--text-size);
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}





































/* Enhanced styling for listing page */
.listing-header-enhanced {
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.type-badge,
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: calc(var(--spacing) * 0.5) var(--spacing);
    border-radius: var(--radius-lg);
    font-size: var(--text-size);
    letter-spacing: var(--letter-spacing);
    transition: all var(--transition);
}

.type-badge.sale {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
    color: white;
}

.type-badge.stud {
    background: linear-gradient(135deg, var(--color-info) 0%, var(--color-info-dark) 100%);
    color: white;
}

.type-badge.wanted {
    background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-warning-dark) 100%);
    color: white;
}

.feature-badge.health {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
    color: white;
}

.feature-badge.kc {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.feature-badge.microchip {
    background: linear-gradient(135deg, var(--color-info) 0%, var(--color-info-light) 100%);
    color: white;
}

.feature-badge.vaccinated {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-light) 100%);
    color: white;
}

.feature-badge.boosted {
    background: linear-gradient(135deg, var(--color-warning) 0%, var(--color-warning-light) 100%);
    color: white;
    animation: pulse 2s infinite;
}

.feature-badge.featured {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    color: white;
    animation: shimmer 3s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.listing-title-enhanced {
    font-family: var(--font-family-secondary);
    font-size: 2.5rem;
    font-weight: var(--font-weight);
    color: var(--color-gray-900);
    margin: 1rem 0;
    line-height: var(--line-height);
}

.listing-price-enhanced {
    margin: 1.5rem 0;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-label {
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing);
}

.price-display {
    font-size: 2rem;
    font-weight: var(--font-weight);
    color: var(--color-primary);
}

.price-display.stud {
    color: var(--color-info);
}

.listing-location-enhanced {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-600);
    font-size: 1.1rem;
}

.listing-content-enhanced {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .listing-content-enhanced {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.listing-sidebar-enhanced {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card-enhanced,
.quick-stats-card,
.related-listings-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition);
}

.contact-card-enhanced:hover,
.quick-stats-card:hover,
.related-listings-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--color-primary);
}

.card-header-enhanced {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-100);
}

.card-header-enhanced svg {
    color: var(--color-primary);
}

.card-header-enhanced h3 {
    font-family: var(--font-family-secondary);
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    color: var(--color-gray-900);
    margin: 0;
}

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

.seller-avatar-enhanced {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-size);
    font-weight: var(--font-weight);
}

.seller-info-enhanced h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight);
    color: var(--color-gray-900);
    margin: 0 0 0.25rem 0;
}

.member-since {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-size);
    color: var(--color-gray-600);
}

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

.btn-enhanced {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: var(--font-weight);
    text-decoration: none;
    transition: all var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-enhanced.phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

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

.btn-enhanced.email:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

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

.btn-enhanced.message:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 91, 54, 0.3);
}

.health-positive {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-color: var(--color-success-light);
}

.health-positive .info-icon {
    background: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
}

.status-active {
    color: var(--color-success);
}

.status-sold {
    color: var(--color-error);
}

.status-expired {
    color: var(--color-warning);
}

.status-draft {
    color: var(--color-gray-500);
}

.full-width {
    grid-column: 1 / -1;
}

/* Image Gallery Enhancements */
.image-gallery-enhanced {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-gray-200);
    margin-bottom: 2rem;
}

.main-image-container-enhanced {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.main-image-enhanced {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
    cursor: pointer;
}

.main-image-enhanced:hover {
    transform: scale(1.02);
}

.image-overlay-enhanced {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition);
    cursor: pointer;
}

.main-image-container-enhanced:hover .image-overlay-enhanced {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-align: center;
}

.image-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: calc(var(--spacing) * 0.5) var(--spacing);
    border-radius: var(--radius-lg);
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    backdrop-filter: blur(10px);
}

.thumbnail-container-enhanced {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--color-gray-50);
    overflow-x: auto;
}

.thumbnail-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    flex-shrink: 0;
}

.thumbnail-wrapper.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(11, 91, 54, 0.2);
}

.thumbnail-wrapper:hover {
    transform: scale(1.05);
}

.thumbnail-enhanced {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-enhanced {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-100) 100%);
}

.no-image-content {
    text-align: center;
    color: var(--color-gray-500);
}

.no-image-content svg {
    margin-bottom: 1rem;
}

.no-image-content h3 {
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    margin-bottom: 0.5rem;
}

/* Modal Enhancements */
.image-modal-enhanced,
.message-modal-enhanced {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content-enhanced {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close-modal-enhanced {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.close-modal-enhanced:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.image-modal-enhanced img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.message-modal-enhanced .modal-content-enhanced {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
}

.modal-header-enhanced {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-100);
}

.modal-header-enhanced h3 {
    font-family: var(--font-family-secondary);
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    color: var(--color-gray-900);
    margin: 0;
}

.message-form-enhanced {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-enhanced label {
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    color: var(--color-gray-700);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing);
}

.form-group-enhanced input,
.form-group-enhanced textarea {
    padding: 1rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all var(--transition);
    resize: vertical;
}

.form-group-enhanced input:focus,
.form-group-enhanced textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 91, 54, 0.1);
}

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

.btn-primary-enhanced {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: var(--font-weight);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 91, 54, 0.3);
}

.btn-secondary-enhanced {
    background: transparent;
    color: var(--color-gray-600);
    border: 2px solid var(--color-gray-300);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: var(--font-weight);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-secondary-enhanced:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-400);
}

/* Related Listings */
.related-listings-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-listing-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.related-listing-link {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.related-listing-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 91, 54, 0.1);
    border-color: var(--color-primary);
}

.related-listing-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.related-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-listing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.related-listing-content h4 {
    font-size: 1rem;
    font-weight: var(--font-weight);
    color: var(--color-gray-900);
    margin: 0;
    line-height: var(--line-height);
}

.related-listing-price {
    font-size: var(--text-size);
    font-weight: var(--font-weight);
    color: var(--color-primary);
    margin: 0;
}

.related-listing-location {
    font-size: var(--text-size);
    color: var(--color-gray-600);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .listing-title-enhanced {
        font-size: 2rem;
    }

    .price-display {
        font-size: 1.75rem;
    }

    .listing-badges {
        justify-content: center;
    }

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

    .contact-actions-enhanced {
        gap: 1rem;
    }

    .main-image-container-enhanced {
        height: 300px;
    }

    .related-listing-link {
        flex-direction: column;
        text-align: center;
    }

    .related-listing-image {
        width: 100%;
        height: 200px;
    }
}

/* Featured Cards - Global Styles */
.featured-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    color: var(--color-gray-400);
}

.listing-type {
    display: flex;
    gap: 0.5rem;
}

.type-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.type-badge.stud {
    background: #e0d7ff;
    color: #6b46c1;
}

.type-badge.sale {
    background: #dcfce7;
    color: #16a34a;
}

.type-badge.wanted {
    background: #fef3c7;
    color: #d97706;
}

.favorite-button:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.favorite-button.favorited {
    color: #e74c3c;
}

.heart-icon {
    width: 18px;
    height: 18px;
    transition: fill var(--transition);
}

