/* Картки цуценят */
.puppies-grid {
    display: flex;
    gap: 20px;
    padding: 20px 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
    max-width: 100%;
    margin: 0 auto;
}

.puppies-grid::-webkit-scrollbar {
    height: 6px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.puppies-grid::-webkit-scrollbar-thumb {
    background-color: var(--gold);
    border-radius: 3px;
}

.puppy-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 15px;
    flex: 0 0 280px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.puppy-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2), 0 0 15px rgba(255,215,0,0.1);
}

.puppy-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    margin-bottom: 15px;
    background-color: rgba(0, 0, 0, 0.3);
}

.puppy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: var(--border-radius-sm);
    display: block;
}

.puppy-image img:hover {
    transform: scale(1.07);
}

.photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.photo-count i {
    color: var(--gold);
    margin-right: 5px;
    font-size: 0.9em;
}

.status {
    position: absolute;
    top: 25px;
    left: 0;
    background: var(--gold);
    color: var(--black);
    padding: 5px 12px 5px 15px;
    font-size: 0.8rem;
    border-radius: 0 15px 15px 0;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.status.вільний,
.status.statusAvailable {
    background-color: var(--green);
}

.status.бронь,
.status.зарезервований {
    background-color: var(--gold);
}

.status.продан,
.status.statusSold {
    background-color: var(--red);
}

.puppy-number {
    position: absolute;
    top: 25px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--gold);
    z-index: 2;
    transition: var(--transition);
}

.puppy-number:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.info-details p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-details p span {
    color: var(--gold);
    font-weight: 500;
    text-align: right;
}

.price {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: bold;
    margin: 10px 0;
    text-align: right;
}

.reserve-button {
    background: linear-gradient(45deg, var(--gold), var(--gold-hover));
    color: var(--black);
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: auto;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.reserve-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, var(--gold-hover), var(--gold));
}

/* Стилі кнопок доставки */
.delivery-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.delivery-dropdown {
    position: relative;
}

.dropdown-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 12px 15px;
    text-align: left;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    transition: background 0.3s;
}

.dropdown-btn:hover {
    background: rgba(255, 215, 0, 0.1);
}

.dropdown-icon {
    margin-right: 8px;
    font-size: 1.2em;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    border-radius: 5px;
    margin-top: 5px;
    z-index: 1;
    border: 1px solid rgba(255, 215, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-content.active {
    display: block;
}

.dropdown-content ul {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.dropdown-content ul li {
    padding: 8px 15px;
    color: var(--white);
    border-radius: 3px;
    margin-bottom: 3px;
    cursor: default;
    transition: background 0.3s, color 0.3s;
}

.dropdown-content ul li:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
}

/* Кнопки для доставки у футері */
.footer-col.delivery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col.delivery h3 {
    color: #FFD700;
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.footer-col.delivery h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #FFD700;
    border-radius: 2px;
}

.delivery-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    margin: 10px auto;
    padding: 0 5px;
}

.footer-col.delivery .delivery-btn,
.delivery-buttons .delivery-btn,
footer .delivery-btn,
button.delivery-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    color: #FFD700;
    border: 2px solid #FFD700;
    border-radius: 10px;
    padding: 10px 20px;
    margin: 8px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.footer-col.delivery .delivery-btn:hover,
.delivery-buttons .delivery-btn:hover,
footer .delivery-btn:hover,
button.delivery-btn:hover {
    background-color: #FFD700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(255,215,0,0.5);
}

.footer-col.delivery .delivery-btn:active,
.delivery-buttons .delivery-btn:active,
footer .delivery-btn:active,
button.delivery-btn:active {
    transform: translateY(0);
    background-color: #FFE44D;
    color: #000;
}

.footer-col.delivery .delivery-btn .dropdown-icon,
.delivery-buttons .delivery-btn .dropdown-icon,
footer .delivery-btn .dropdown-icon,
button.delivery-btn .dropdown-icon {
    font-size: 20px;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Навігаційні кнопки для галереї цуценят */
.puppies-nav {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.puppies-nav:hover {
    background: var(--gold-hover);
    transform: translateY(-50%) scale(1.05);
}

.puppies-nav.prev-btn {
    left: 10px;
}

.puppies-nav.next-btn {
    right: 10px;
}

/* Мовний перемикач */
.language-switcher {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.language-switcher a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    transition: all 0.3s;
    border: 1px solid transparent;
    position: relative;
}

.language-switcher a span {
    z-index: 2;
    position: relative;
}

.language-switcher .flag-ua {
    background: linear-gradient(to bottom, #0057b7 0%, #0057b7 50%, #ffd700 50%, #ffd700 100%);
    color: transparent;
}

.language-switcher .flag-en {
    background: #012169 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath d='M0 0v30h60V0H0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E") center/cover;
    color: transparent;
}

.language-switcher .flag-pl {
    background: linear-gradient(to bottom, #fff 0%, #fff 50%, #dc143c 50%, #dc143c 100%);
}

.language-switcher .flag-pl span {
    color: transparent;
}

.language-switcher .flag-de {
    background: linear-gradient(to bottom, #000 0%, #000 33%, #FF0000 33%, #FF0000 66%, #FFCC00 66%, #FFCC00 100%);
    color: transparent;
}

.language-switcher .flag-fr {
    background: linear-gradient(to right, #0055A4 0%, #0055A4 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #EF4135 66.66%, #EF4135 100%);
    color: transparent;
    border: none;
}

.language-switcher .flag-it {
    background: linear-gradient(to right, #009246 0%, #009246 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, #CE2B37 66.66%, #CE2B37 100%);
    color: transparent;
    border: none;
}

.language-switcher a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    border-color: var(--gold);
}

.language-switcher a.active {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    border: 1px solid var(--gold);
}
