.bb-dogs-container {
    width: 100%;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bb-count {
    font-size: 1.1em;
    opacity: 0.9;
    margin-top: 10px;
}

.bb-dogs-cards {
    display: grid;
    grid-template-columns: repeat(var(--bb-columns, 3), 1fr);
    gap: 25px;
    margin-top: 30px;
}

.bb-dogs-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.bb-dogs-fancy-card {
    display: grid;
    grid-template-columns: repeat(var(--bb-columns, 3), 1fr);
    gap: 25px;
    margin-top: 30px;
}

.bb-dog-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    color: inherit;
    display: block;
}

.bb-dog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.bb-dog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.bb-dog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bb-dog-card:hover .bb-dog-image img {
    transform: scale(1.05);
}

.bb-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bb-type-puppy {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: #fff;
}

.bb-type-breeding {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: #fff;
}

.bb-gender-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.bb-dog-card .bb-gender-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    box-shadow: none !important;
    border: none;
}

.bb-gender-icon.bb-gender-male {
    background: #3498db;
}

.bb-gender-icon.bb-gender-female {
    background: #e91e63;
}

.bb-dog-info {
    padding: 25px;
}

.bb-dog-name {
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 6px 0;
    text-align: center;
}

.bb-dog-call-name {
    font-size: 1.05em;
    color: #2c3e50;
    margin: 10px 0 16px 0;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.bb-dog-call-name-label {
    display: block;
    font-size: 0.68em;
    text-transform: uppercase;
    color: #7f8c8d;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.bb-dog-call-name-value {
    font-weight: 700;
    color: #2c3e50;
}

.bb-dog-call-name--header {
    margin-top: 10px;
}

.bb-dog-card.bb-list-item .bb-dog-call-name,
.bb-dog-card.bb-list-item .bb-dog-name {
    text-align: left;
}

.bb-dog-card.bb-list-item .bb-dog-call-name {
    margin-bottom: 18px;
}

.bb-dog-card.bb-cards-item .bb-dog-info {
    padding: 20px;
}

.bb-dog-card.bb-cards-item .bb-dog-name {
    font-size: 1.5em;
}

.bb-dog-card.bb-fancy-card-item .bb-name-overlay .bb-dog-call-name {
    margin: 6px 0 0 0;
    font-size: 0.9em;
    letter-spacing: 0.2px;
}

.bb-dog-card.bb-fancy-card-item .bb-name-overlay .bb-dog-call-name-label {
    font-size: 0.7em;
}

.bb-dog-card.bb-fancy-card-item .bb-name-overlay .bb-dog-name {
    margin-top: 10px;
}


.bb-single-dog .bb-single-dog-call-name {
    text-align: left;
    font-size: 1.15em;
    margin: 10px 0 18px 0;
}

.bb-single-dog .bb-single-dog-call-name .bb-dog-call-name-label {
    font-size: 0.75em;
}

.bb-dog-subtitle {
    font-size: 1em;
    color: #667eea;
    margin: 0 0 15px 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.bb-dog-subtitle em {
    font-style: italic;
}

.bb-dog-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0 0 15px 0;
    text-align: center;
    font-style: italic;
}

.bb-dog-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.bb-dog-details.bb-dog-details--single {
    grid-template-columns: 1fr;
    justify-items: center;
}

.bb-dog-details.bb-dog-details--single .bb-detail-item {
    text-align: center;
}

.bb-detail-item {
    text-align: center;
}

.bb-detail-label {
    font-size: 0.65em;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 500;
}

.bb-detail-value {
    font-size: 0.8em;
    color: #666;
    font-weight: 500;
}

.bb-dog-card.bb-list-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 280px;
    max-height: 320px;
}

.bb-dog-card.bb-list-item:hover {
    transform: translateX(5px);
}

.bb-dog-card.bb-list-item .bb-dog-image {
    width: 450px;
    min-width: 450px;
    height: auto;
    flex-shrink: 0;
}

.bb-dog-card.bb-list-item .bb-dog-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bb-dog-card.bb-list-item .bb-dog-name {
    text-align: left;
    font-size: 2.2em;
    margin-bottom: 8px;
}

.bb-dog-card.bb-list-item .bb-dog-subtitle {
    text-align: left;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.bb-dog-card.bb-list-item .bb-dog-description {
    text-align: left;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em;
}

.bb-dog-card.bb-list-item .bb-dog-details {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 15px;
    margin-top: auto;
}

.bb-dog-card.bb-list-item .bb-dog-details.bb-dog-details--single {
    grid-template-columns: 1fr;
    justify-items: center;
}

.bb-dog-card.bb-list-item .bb-dog-details.bb-dog-details--single .bb-detail-item {
    text-align: center;
}

.bb-dog-card.bb-list-item .bb-detail-item {
    text-align: left;
}

.bb-dog-card.bb-cards-item {
    width: 100%;
    max-width: none;
    margin: 0;
}

.bb-dog-card.bb-cards-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.bb-dog-card.bb-cards-item .bb-dog-image {
    height: 240px;
    border-radius: 15px 15px 0 0;
}

.bb-dog-card.bb-cards-item .bb-dog-info {
    padding: 20px;
}

.bb-dog-card.bb-cards-item .bb-dog-name {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.bb-dog-card.bb-cards-item .bb-dog-subtitle {
    font-size: 0.9em;
    margin-bottom: 12px;
}

.bb-dog-card.bb-cards-item .bb-dog-description {
    font-size: 0.85em;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.bb-dog-card.bb-cards-item .bb-dog-details {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.bb-dog-card.bb-cards-item .bb-dog-details.bb-dog-details--single {
    grid-template-columns: 1fr;
}

.bb-dog-card.bb-cards-item .bb-detail-label {
    font-size: 0.6em;
    margin-bottom: 2px;
}

.bb-dog-card.bb-cards-item .bb-detail-value {
    font-size: 0.75em;
}

.bb-dog-card.bb-cards-item .bb-type-badge {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 0.75em;
}

.bb-dog-card.bb-cards-item .bb-gender-icon {
    top: 10px;
    left: 10px;
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.bb-dog-card.bb-fancy-card-item {
    position: relative;
    height: 550px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: #fff;
}

.bb-dog-card.bb-fancy-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.bb-dog-card.bb-fancy-card-item .bb-dog-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55%;
    z-index: 1;
}

.bb-dog-card.bb-fancy-card-item .bb-dog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-dog-card.bb-fancy-card-item .bb-name-overlay {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 25px;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: none;
    width: auto;
}

.bb-dog-card.bb-fancy-card-item .bb-dog-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1.2;
    white-space: nowrap;
}

.bb-dog-card.bb-fancy-card-item .bb-dog-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 55%;
    background: #fff;
    padding: 50px 20px 35px 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bb-dog-card.bb-fancy-card-item .bb-fancy-details {
    font-size: 0.95em;
    line-height: 1.6;
    color: #666;
    margin-top: 0;
}

.bb-fancy-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    line-height: 1.5;
    min-height: 4.5em;
    color: #666;
}

.bb-dog-card.bb-fancy-card-item .bb-fancy-detail-row {
    margin-bottom: 15px;
    font-weight: 400;
}

.bb-dog-card.bb-fancy-card-item .bb-fancy-detail-label {
    font-size: 0.75em;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
    display: block;
}

.bb-dog-card.bb-fancy-card-item .bb-fancy-detail-value {
    font-size: 1em;
    color: #2c3e50;
    font-weight: 600;
    display: block;
}

.bb-dog-card.bb-fancy-card-item .bb-type-badge {
    display: none;
}

.bb-no-image {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 100%;
    height: 100%;
}

.bb-dog-card .bb-no-image {
    font-size: 3em;
    font-weight: 300;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .bb-dogs-cards {
        grid-template-columns: repeat(min(var(--bb-columns, 3), 4), 1fr);
        gap: 20px;
    }

    .bb-dogs-fancy-card {
        grid-template-columns: repeat(min(var(--bb-columns, 3), 4), 1fr);
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .bb-dogs-cards {
        grid-template-columns: repeat(min(var(--bb-columns, 3), 3), 1fr);
        gap: 20px;
    }

    .bb-dogs-fancy-card {
        grid-template-columns: repeat(min(var(--bb-columns, 3), 3), 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .bb-dogs-cards {
        grid-template-columns: repeat(min(var(--bb-columns, 3), 2), 1fr);
        gap: 20px;
    }

    .bb-dogs-fancy-card {
        grid-template-columns: repeat(min(var(--bb-columns, 3), 2), 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .bb-dogs-list {
        gap: 20px;
    }

    .bb-dogs-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bb-dogs-fancy-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bb-dog-card.bb-fancy-card-item {
        height: 500px;
    }

    .bb-dog-card.bb-fancy-card-item .bb-dog-name {
        font-size: 1em;
    }

    .bb-dog-card.bb-fancy-card-item .bb-name-overlay {
        padding: 6px 20px;
        top: 55%;
        max-width: none;
        width: auto;
        transform: translate(-50%, -50%);
    }

    .bb-dog-card.bb-cards-item .bb-dog-info {
        padding: 15px;
    }

    .bb-dog-card.bb-cards-item .bb-dog-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bb-dog-card.bb-list-item {
        flex-direction: column;
        max-height: none;
    }

    .bb-dog-card.bb-list-item .bb-dog-image {
        width: 100%;
        min-width: auto;
        height: 250px;
    }

    .bb-dog-card.bb-list-item .bb-dog-info {
        padding: 20px;
    }

    .bb-dog-card.bb-list-item .bb-dog-name {
        text-align: center;
        font-size: 1.8em;
    }

    .bb-dog-card.bb-list-item .bb-dog-subtitle,
    .bb-dog-card.bb-list-item .bb-dog-description {
        text-align: center;
    }

    .bb-dog-card.bb-list-item .bb-dog-details {
        grid-template-columns: 1fr 1fr;
    }

    .bb-dog-card.bb-list-item .bb-detail-item {
        text-align: center;
    }
}

.bb-powered-by {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.bb-powered-by a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.75em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bb-powered-by a:hover {
    color: #667eea;
    text-decoration: none;
}

.bb-powered-by img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.bb-single-dog {
    width: 100%;
    max-width: none;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bb-back-button {
    margin-bottom: 30px;
}

.bb-back-button a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f0f0;
}

.bb-back-button a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
    color: #5a6fd8;
    text-decoration: none;
}

.bb-back-button a::before {
    content: '\2190';
    font-size: 1.2em;
    margin-right: 5px;
}

.bb-single-dog-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bb-single-dog-content {
    display: flex;
    min-height: 500px;
}

.bb-single-dog-image {
    flex: 1;
    overflow: hidden;
}

.bb-single-dog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-single-dog-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.bb-parent-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e6e9f2;
}

.bb-parent-heading {
    font-size: 1.5em;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 18px 0;
}

.bb-parent-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bb-parent-card {
    background: #f9fafc;
    border-radius: 18px;
    padding: 24px 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #edf0f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bb-parent-card:hover,
.bb-parent-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(51, 66, 87, 0.12);
    border-color: #d9e2f3;
}

.bb-parent-card:focus {
    outline: 3px solid #667eea;
    outline-offset: 4px;
}

.bb-parent-card__image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(51, 66, 87, 0.08);
}

.bb-parent-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-parent-card__placeholder {
    font-size: 42px;
}

.bb-parent-card__meta {
    text-align: center;
}

.bb-parent-card__role {
    text-transform: uppercase;
    font-size: 0.7em;
    letter-spacing: 1.5px;
    color: #7f8c8d;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bb-parent-card__name {
    font-size: 1.25em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.bb-parent-card__call-name {
    font-size: 0.9em;
    color: #5f6a6a;
}

.bb-parent-card .bb-gender-icon {
    width: 26px;
    height: 26px;
    font-size: 14px;
    box-shadow: none;
}

.bb-single-dog-gallery {
    margin-top: 26px;
    padding: 24px 0 0 0;
    border-top: 1px solid #e6e9f2;
    background: transparent;
    width: 100%;
}

.bb-gallery-header {
    margin-bottom: 20px;
}

.bb-gallery-heading {
    font-size: 1.4em;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
}

.bb-gallery-description {
    margin: 0;
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.5;
}

.bb-gallery-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}

.bb-gallery-item {
    position: relative;
    border: 0;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    display: block;
    aspect-ratio: 1 / 1;
}

.bb-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.bb-gallery-item:hover img,
.bb-gallery-item:focus img {
    transform: scale(1.03);
    filter: brightness(0.94);
}

.bb-gallery-item:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.bb-gallery-lightbox[hidden] {
    display: none !important;
}

.bb-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bb-gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 18, 27, 0.85);
}

.bb-gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    max-width: min(900px, 90vw);
    max-height: 90vh;
    outline: none;
    touch-action: pan-y pinch-zoom;
}

.bb-gallery-lightbox__figure {
    margin: 0;
    position: relative;
}

.bb-gallery-lightbox__figure img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.bb-gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.62);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.bb-gallery-lightbox__nav span {
    display: block;
}

.bb-gallery-lightbox__nav:hover,
.bb-gallery-lightbox__nav:focus {
    background: rgba(102, 126, 234, 0.95);
    transform: translateY(-50%) scale(1.08);
    outline: none;
}

.bb-gallery-lightbox__nav[disabled],
.bb-gallery-lightbox__nav[aria-disabled="true"] {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
    transform: translateY(-50%);
}

.bb-gallery-lightbox__nav--prev {
    left: 24px;
}

.bb-gallery-lightbox__nav--next {
    right: 24px;
}

.bb-gallery-lightbox__caption {
    margin-top: 18px;
    color: #f8f9fa;
    text-align: center;
    font-size: 0.95em;
    line-height: 1.4;
}

.bb-gallery-lightbox__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #2c3e50;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bb-gallery-lightbox__close:hover,
.bb-gallery-lightbox__close:focus {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

body.bb-gallery-open {
    overflow: hidden;
}

.bb-detail-section {
    margin-bottom: 20px;
}

.bb-detail-section:last-child {
    margin-bottom: 0;
}

.bb-dog-name-section {
    margin-bottom: 20px;
}

.bb-dog-name-title {
    font-size: 1.6em;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.bb-dog-type {
    font-size: 0.8em;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.bb-gender-role {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1em;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
}

.bb-gender-icon.bb-gender-male {
    background: #3498db;
}

.bb-gender-icon.bb-gender-female {
    background: #e91e63;
}

.bb-description-text {
    font-size: 0.9em;
    line-height: 1.5;
    color: #495057;
    font-style: italic;
}

.bb-single-dog-image .bb-no-image {
    font-size: 4em;
}

@media (max-width: 768px) {
    .bb-single-dog-content {
        flex-direction: column;
        height: auto;
    }

    .bb-single-dog-image {
        height: 300px;
    }

    .bb-single-dog-details {
        padding: 30px 20px;
    }

    .bb-dog-name-title {
        font-size: 2em;
    }

    .bb-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .bb-single-dog-gallery {
        margin-top: 20px;
        padding-top: 20px;
    }

    .bb-gallery-lightbox__figure img {
        max-height: 60vh;
    }

    .bb-gallery-lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 22px;
        background: rgba(17, 24, 39, 0.7);
    }

    .bb-gallery-lightbox__nav--prev {
        left: 8px;
    }

    .bb-gallery-lightbox__nav--next {
        right: 8px;
    }
}