/**
 * Frontend CSS for Paten Hunde Dog Plugin
 * 
 * Modern, responsive design inspired by https://hunderettung-europa.de/patenschaft-grundversorgung/
 */

/* Reset and base styles */
.paten-hunde-dog-landing *,
.paten-hunde-dog-form * {
    box-sizing: border-box;
}

/* Main container */
.paten-hunde-dog-landing {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Hero section */
.paten-hunde-dog-landing .hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.paten-hunde-dog-landing .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.paten-hunde-dog-landing .hero-section > * {
    position: relative;
    z-index: 2;
}

.paten-hunde-dog-landing .hero-image {
    max-width: 300px;
    margin: 0 auto 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.paten-hunde-dog-landing .hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.paten-hunde-dog-landing .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.paten-hunde-dog-landing .hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Dog basic info */
.paten-hunde-dog-landing .dog-basic-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.paten-hunde-dog-landing .info-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.paten-hunde-dog-landing .info-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.paten-hunde-dog-landing .info-item i {
    font-size: 1.2em;
    opacity: 0.8;
}

/* Sponsorship total */
.paten-hunde-dog-landing .sponsorship-total {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.paten-hunde-dog-landing .total-label {
    display: block;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.paten-hunde-dog-landing .total-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Content wrapper */
.paten-hunde-dog-landing .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Details section */
.paten-hunde-dog-landing .details-section {
    background: white;
    padding: 60px 0;
}

.paten-hunde-dog-landing .details-section .description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #555;
}

.paten-hunde-dog-landing .details-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
}

.paten-hunde-dog-landing .details-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Price breakdown */
.paten-hunde-dog-landing .price-breakdown {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.paten-hunde-dog-landing .price-list {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.paten-hunde-dog-landing .price-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.paten-hunde-dog-landing .price-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.paten-hunde-dog-landing .price-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #28a745;
}

.paten-hunde-dog-landing .price-description {
    color: #666;
    font-style: italic;
}

.paten-hunde-dog-landing .duration-info,
.paten-hunde-dog-landing .payment-info {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
}

.paten-hunde-dog-landing .duration-info:last-child,
.paten-hunde-dog-landing .payment-info:last-child {
    margin-bottom: 0;
}

/* Additional notes */
.paten-hunde-dog-landing .additional-notes {
    background: #fff3cd;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #ffeaa7;
    margin-bottom: 30px;
}

.paten-hunde-dog-landing .additional-notes h3 {
    color: #856404;
    margin-bottom: 15px;
}

.paten-hunde-dog-landing .additional-notes p {
    color: #856404;
    margin: 0;
}

/* Form section */
.paten-hunde-dog-landing .form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.paten-hunde-dog-landing .form-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

/* Form styles */
.paten-hunde-dog-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.paten-hunde-dog-form .form-section {
    margin-bottom: 35px;
    padding: 0;
    background: none;
}

.paten-hunde-dog-form .form-section h3,
.paten-hunde-dog-form .form-section h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.paten-hunde-dog-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.paten-hunde-dog-form .form-field {
    display: flex;
    flex-direction: column;
}

.paten-hunde-dog-form .form-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
}

.paten-hunde-dog-form .required {
    color: #dc3545;
    font-weight: 700;
}

.paten-hunde-dog-form input[type="text"],
.paten-hunde-dog-form input[type="email"],
.paten-hunde-dog-form input[type="tel"],
.paten-hunde-dog-form input[type="date"],
.paten-hunde-dog-form input[type="number"],
.paten-hunde-dog-form select,
.paten-hunde-dog-form textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.paten-hunde-dog-form input[type="text"]:focus,
.paten-hunde-dog-form input[type="email"]:focus,
.paten-hunde-dog-form input[type="tel"]:focus,
.paten-hunde-dog-form input[type="date"]:focus,
.paten-hunde-dog-form input[type="number"]:focus,
.paten-hunde-dog-form select:focus,
.paten-hunde-dog-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.paten-hunde-dog-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Radio buttons */
.paten-hunde-dog-form .radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.paten-hunde-dog-form .radio-label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-weight: 500;
}

.paten-hunde-dog-form .radio-label:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.paten-hunde-dog-form .radio-label input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.paten-hunde-dog-form .radio-label input[type="radio"]:checked + span {
    color: #667eea;
    font-weight: 600;
}

/* Company section (Pate / Patin / custom) */
.paten-hunde-dog-form .company-section-hint {
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0 0 0;
}
.paten-hunde-dog-form .company-preset-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.paten-hunde-dog-form .company-add-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
.paten-hunde-dog-form .company-yesno-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.paten-hunde-dog-form .company-preset-display {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
.paten-hunde-dog-form .company-preset-logo-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.paten-hunde-dog-form .company-preset-name {
    font-weight: 600;
    color: #333;
}
.paten-hunde-dog-form .company-custom-toggle {
    margin-top: 15px;
}
.paten-hunde-dog-form .company-custom-fields {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}
.paten-hunde-dog-form .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.paten-hunde-dog-form .checkbox-label input[type="checkbox"] {
    margin: 0;
}
.paten-hunde-dog-form .field-hint {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* Price donations section */
.paten-hunde-dog-form .price-donations-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.paten-hunde-dog-form .price-donations-section > label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.paten-hunde-dog-form .price-input-wrapper {
    margin-bottom: 25px;
}

.paten-hunde-dog-form .price-input-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 15px;
    align-items: end;
}

.paten-hunde-dog-form .added-prices h5 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.paten-hunde-dog-form .price-list {
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.paten-hunde-dog-form .price-list:empty::before {
    content: "No prices added yet";
    display: block;
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}

.paten-hunde-dog-form .price-list-item {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.paten-hunde-dog-form .price-list-item:last-child {
    border-bottom: none;
}

.paten-hunde-dog-form .price-list-item:hover {
    background: #f8f9fa;
}

.paten-hunde-dog-form .price-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.paten-hunde-dog-form .price-item-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #28a745;
}

.paten-hunde-dog-form .price-item-description {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.paten-hunde-dog-form .price-item-remove {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.paten-hunde-dog-form .price-item-remove:hover {
    background: #c82333;
}

.paten-hunde-dog-form .price-total {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    padding: 15px 20px;
    background: white;
    border-radius: 10px;
    border: 2px solid #28a745;
}

/* Duration value row */
.paten-hunde-dog-form .duration-value-row {
    display: none;
    background: #e3f2fd;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #bbdefb;
    margin-bottom: 20px;
}

.paten-hunde-dog-form .duration-value-row.show {
    display: block;
}

/* Total calculation */
.paten-hunde-dog-form .total-calculation {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #28a745;
    text-align: center;
    margin-bottom: 30px;
}

.paten-hunde-dog-form .total-calculation h4 {
    color: #155724;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.paten-hunde-dog-form .total-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #28a745;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.paten-hunde-dog-form .btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

.paten-hunde-dog-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.paten-hunde-dog-form .btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.paten-hunde-dog-form .btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.paten-hunde-dog-form .form-actions {
    text-align: center;
    margin-top: 30px;
}

/* Error styles */
.paten-hunde-dog-form .error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
}

.paten-hunde-dog-form .form-field.has-error input,
.paten-hunde-dog-form .form-field.has-error select,
.paten-hunde-dog-form .form-field.has-error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Success message */
.paten-hunde-dog-form .success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #c3e6cb;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

/* Loading state */
.paten-hunde-dog-form .loading {
    opacity: 0.6;
    pointer-events: none;
}

.paten-hunde-dog-form .loading .btn {
    position: relative;
}

.paten-hunde-dog-form .loading .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .paten-hunde-dog-landing .hero-title {
        font-size: 2rem;
    }
    
    .paten-hunde-dog-landing .dog-basic-info {
        flex-direction: column;
        align-items: center;
    }
    
    .paten-hunde-dog-landing .info-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .paten-hunde-dog-landing .hero-section {
        padding: 40px 0;
    }
    
    .paten-hunde-dog-landing .details-section,
    .paten-hunde-dog-landing .form-section {
        padding: 40px 0;
    }
    
    .paten-hunde-dog-form {
        padding: 25px;
        margin: 0 10px;
    }
    
    .paten-hunde-dog-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .paten-hunde-dog-form .radio-group {
        grid-template-columns: 1fr;
    }
    
    .paten-hunde-dog-form .price-input-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .paten-hunde-dog-form .total-display {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .paten-hunde-dog-landing .hero-title {
        font-size: 1.8rem;
    }
    
    .paten-hunde-dog-landing .content-wrapper {
        padding: 0 15px;
    }
    
    .paten-hunde-dog-form {
        padding: 20px;
    }
    
    .paten-hunde-dog-form .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* === DOG TEMPLATE SELECTION SYSTEM === */

/* Base styles for all dog templates */
.dog-template-base {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Common form styling for all templates */
.dog-contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.dog-contact-form input,
.dog-contact-form select,
.dog-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.dog-contact-form input:focus,
.dog-contact-form select:focus,
.dog-contact-form textarea:focus {
    outline: none;
    border-color: #007cba;
}

.dog-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.dog-contact-form .submit-button {
    background: #007cba;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dog-contact-form .submit-button:hover {
    background: #005a87;
}

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

/* Success/Error messages */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

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

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

/* === DOGS GRID LAYOUT STYLES === */

/* Dogs Grid Shortcode - Modern Design */
.paten-hunde-dogs-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header Section */
.paten-hunde-dogs-grid-container h1,
.paten-hunde-dogs-grid-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

/* Filter Tabs */
.dogs-filter-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-tab {
    background: #f8f9fa;
    border: 2px solid transparent;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-tab:first-child {
    border-radius: 12px;
}

.filter-tab:last-child {
    border-radius: 12px;
}

/* Kleine Hunde Tab - Pink/Rose Theme */
.filter-tab[data-filter="kleine-hunde"] {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #ffffff;
    border-color: #ff6b9d;
}

.filter-tab[data-filter="kleine-hunde"]:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff9a9e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
}

.filter-tab[data-filter="kleine-hunde"].active {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff9a9e 100%);
    color: white;
    border-color: #ff6b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
}

/* Große Hunde Tab - Blue/Teal Theme */
.filter-tab[data-filter="grosse-hunde"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
}

.filter-tab[data-filter="grosse-hunde"]:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.filter-tab[data-filter="grosse-hunde"].active {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    color: white;
    border-color: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

/* Tab Icons */
.filter-tab i {
    font-size: 18px;
    margin-right: 5px;
}

/* Responsive tabs */
@media (max-width: 768px) {
    .dogs-filter-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-tab {
        text-align: center;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Grid Layout */
.dogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .dogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .dogs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dog Card */
.dog-grid-item {
    transition: transform 0.3s ease;
}

.dog-grid-item:hover {
    transform: translateY(-5px);
}

.dog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dog-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Dog Image */
.dog-image-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.dog-image {
    width: 100%;
    height: 350px !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}

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

.dog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.dog-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Status Badge */
.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.status-available {
    background: #28a745;
    color: white;
}

.status-badge.status-sponsored {
    background: #ffc107;
    color: #212529;
}

.status-badge.status-adopted {
    background: #6c757d;
    color: white;
}

/* Card Content */
.dog-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dog-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.dog-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dog-name a:hover {
    color: #ff6b35;
}

/* Basic Info */
.dog-basic-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.info-item i {
    color: #ff6b35;
    font-size: 12px;
}

/* Excerpt */
.dog-excerpt {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

/* Action Buttons */
.dog-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff9a9e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    color: white;
}

.btn i {
    font-size: 12px;
}

/* Pagination */
.dogs-grid-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.dogs-grid-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    margin: 0 5px;
    background: white;
    border: 1px solid #dee2e6;
    color: #6c757d;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dogs-grid-pagination .page-numbers:hover,
.dogs-grid-pagination .page-numbers.current {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

/* No Dogs Found */
.no-dogs-found {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-dogs-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.no-dogs-found h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

.no-dogs-found p {
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 767px) {
    .paten-hunde-dogs-grid-container {
        padding: 20px 15px;
    }
    
    .dogs-filter-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .filter-tab {
        border-radius: 6px !important;
        margin: 2px;
    }
    
    .dogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dog-card-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Animation for filtered items */
.dog-grid-item {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Custom styling for this specific design */
.paten-hunde-dogs-grid-container {
    background: #f8f9fa;
    min-height: 100vh;
    padding-top: 40px;
}

.dogs-grid {
    background: transparent;
}

.dog-card {
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.dog-grid-info-header {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.dog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* When no company: center content in card (category shortcode) */
.paten-hunde-dogs-category-container .dog-card-no-company .dog-card-content {
    align-items: center;
    justify-content: space-between;
}
.paten-hunde-dogs-category-container .dog-card-no-company .dog-grid-info-header {
    min-height: 0;
    padding: 20px 0;
}

.dog-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.dog-basic-info,
.dog-excerpt {
    display: none;
}

.dog-card-actions {
    margin: 0;
}

.btn-primary {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Header with title and tabs */
.paten-hunde-dogs-grid-container::before {
    content: "Hunde";
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    float: left;
}

/* === CATEGORY SHORTCODE STYLES === */

/* Category Container */
.paten-hunde-dogs-category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.paten-hunde-dogs-category-container .dogs-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

/* Load more button – matches .dog-actions .btn-primary */
.dogs-load-more-wrap {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}
.dogs-load-more-wrap .dogs-load-more-btn,
.dogs-load-more-wrap .btn-primary, .kontakt-formular-button  {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.dogs-load-more-wrap .dogs-load-more-btn:hover:not(:disabled),
.dogs-load-more-wrap .btn-primary:hover:not(:disabled), .kontakt-formular-button:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #f7931e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    color: white;
}

.kontakt-formular-container {
	text-align: center;
}
.kontakt-formular-container h2.section-title {
border:0px !important;
font-size: 24px;
  } 

 
.kontakt-formular-button {
    text-decoration: none;
}
.dogs-load-more-wrap .dogs-load-more-btn:disabled,
.dogs-load-more-wrap .btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsive Grid Layout */
.paten-hunde-dogs-category-container .dogs-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 768px) {
    .paten-hunde-dogs-category-container .dogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .paten-hunde-dogs-category-container .dogs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Category Tags */
.dog-categories {
    margin: 15px 0;
}

.category-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
    margin-bottom: 5px;
}

.category-tag.category-kleine-hunde {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.2);
}

.category-tag.category-grosse-hunde {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* Default category style for uncategorized */
.category-tag:not(.category-kleine-hunde):not(.category-grosse-hunde) {
    background: #6c757d;
    color: white;
}

/* Action Buttons (specific to dog cards) */
.dog-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

/* Single button takes full width */
.dog-actions:has(.btn:only-child) {
    justify-content: stretch;
}

.dog-actions .btn:only-child {
    flex: 1;
    width: 100%;
}

.dog-actions .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    justify-content: center;
    line-height: 1;
}

.dog-actions .btn-primary,
.dog-actions .btn-view-more {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
}

.dog-actions .btn-primary:hover,
.dog-actions .btn-view-more:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #f7931e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

.dog-actions .btn-secondary,
.dog-actions .btn-sponsor {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.dog-actions .btn-secondary:hover,
.dog-actions .btn-sponsor:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.dog-actions .btn i {
    font-size: 12px;
}

/* Company (Pate/Patin/Unternehmen) on dog card */
.dog-card-company {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 16px;
    justify-content: space-between;
    width: 100%;
}
.dog-card-company-logo {
    width: 40px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.dog-card-company-label {
    font-weight: 600;
    color: #666;
}
.dog-card-company-name {
    color: #333;
    font-weight: 500;
}

/* Enhanced Dog Card Hover Effects */
.paten-hunde-dogs-category-container .dog-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.paten-hunde-dogs-category-container .dog-grid-item:hover {
    transform: translateY(-5px);
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .paten-hunde-dogs-category-container {
        padding: 20px 15px;
    }
    
    .paten-hunde-dogs-category-container .dogs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dog-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .dog-actions .btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .dog-card-content {
        padding: 15px;
    }
    
    .dog-basic-info {
        gap: 10px;
    }
    
    .info-item {
        font-size: 13px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .dog-basic-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .category-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
}