/* Footer Styles */
.footer-new {
    background-color: #FFF8F0;
    padding: 4.625rem 0 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color:#979797;
    
}

.footer-main-row {
    display: grid;
    grid-template-columns: 16.82fr 40.45fr 19.66fr 19.66fr;
    gap: 1.5rem;
}

.footer-links-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.footer-new a {
    color: #979797;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-new a:hover {
    color: #30734C;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 1rem;
    margin-top: -4.125rem;
}

.footer-logo img {
    height: 3.125rem;
    width: auto;
}

.footer-company-info {
    font-size: 0.875rem;
    color: #979797;
    line-height: 130%;
}

.footer-company-info p{
    margin: 0;
    line-height: 130%;
}
#internet-pharmacy {
    margin-top:0.625rem ;
}
.footer-company-info .license-link {
    color: #c5a572;
    text-decoration: underline;
}

.footer-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #979797;
    line-height: 130%;
    margin-bottom: 0;
    padding: 0.625rem 0.625rem 0.625rem 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    
}

.footer-links li {
   
    padding: 0.625rem 0.625rem 0.625rem 0;
}

.footer-links a {
    font-size: 0.875rem;
    color: #979797;

    box-sizing: content-box;
}

.footer-links a:hover {
    color: #30734C;
}

.footer-contact-item {
    display: flex;
    align-items: flex-center;
    gap: 0.625rem;
    padding: 0.625rem 0.625rem 0.625rem 0;
    font-size: 0.875rem;
    color: #979797;
}

.footer-contact-item i {
    color: #979797;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.footer-partner-item {
    font-size: 0.875rem;
    color: #979797;
      padding: 0.625rem 0.625rem 0.625rem 0;
}

.footer-middle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.375rem;
    position: relative;
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    align-items: center;
    justify-content: center;
}

.footer-payment-img {
    height: 2.41rem;
    width: auto;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: 1.56rem;
    align-items: center;
    position: absolute;
    right: 0;
}

.footer-social-link svg {
    fill: #979797;
    transition: fill 0.2s ease;
}

.footer-social-link:hover svg {
    fill: #30734C;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    gap: 1.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.875rem;
    font-size: 0.8rem;
}

.footer-bottom-links a {
    color: #979797;
}

.footer-copyright {
    text-align: center;
    font-size: 1rem;
    color: #979797;
    border-top: 0.23rem solid #DADADA;
}

/* Responsive Styles */
@media (max-width: 75rem) {
    .footer-new {
        padding: 3rem 0 0;
    }
    
    .footer-main-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-company-col {
        max-width: 100%;
        padding-bottom: 1rem;
        border-bottom: 1px solid #DADADA;
    }
    
    .footer-logo {
        margin-top: -2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-links-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #DADADA;
    }
    
    .footer-section-empty {
        visibility: hidden;
    }
    
    .footer-section-title {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    
    .footer-links li {
        padding: 0.5rem 0;
    }
    
    .footer-links a,
    .footer-contact-item,
    .footer-partner-item {
        font-size: 0.8rem;
    }
    
    .footer-middle-row {
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 1.5rem 0;
        border-bottom: 1px solid #DADADA;
    }
    
    .footer-socials {
        position: static;
    }
    
    .footer-social-link {
        font-size: 1.5rem;
    }
    
    .footer-payments {
        gap: 0.75rem;
        justify-content: flex-start;
    }
    
    .footer-payment-img {
        height: 2rem;
    }
}

@media (max-width: 48rem) {
    .footer-new {
        padding: 2rem 0 0;
    }
    
    .footer-main-row {
        gap: 1.5rem;
    }
    
    .footer-logo {
        margin-top: -1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo img {
        height: 2.5rem;
    }
    
    .footer-company-info {
        font-size: 0.75rem;
    }
    
    .footer-links-container {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #DADADA;
    }
    
    .footer-links-container > div {
        border-bottom: none;
        display: contents;
    }
    
    .footer-links-container > div:first-child {
        display: block;
    }
    
    .footer-section-empty {
        display: none;
    }
    
    .footer-main-row > div:not(.footer-company-col):not(.footer-links-container) {
        border-bottom: 1px solid #DADADA;
    }
    
    .footer-section-title {
        font-size: 0.95rem;
        position: relative;
        padding: 0.875rem 2rem 0.875rem 0;
        user-select: none;
        cursor: pointer;
    }
    
    .footer-section-title::after {
        content: '\f282';
        font-family: 'bootstrap-icons';
        position: absolute;
        right: 0;
        transition: transform 0.3s ease;
        font-size: 0.875rem;
    }
    
    .footer-section-title.active::after {
        transform: rotate(180deg);
    }
    
    .footer-links,
    .footer-contact-item,
    .footer-partner-item {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
        padding: 0 !important;
        margin: 0;
    }
    
    .footer-links.active,
    .footer-contact-item.active,
    .footer-partner-item.active {
        max-height: 2000px;
    }
    
    .footer-links {
        padding: 0;
        margin: 0;
    }
    
    .footer-links li {
        padding: 0.625rem 0.625rem 0.625rem 0;
        transition: padding 0.3s ease;
    }
    
    .footer-contact-item.active {
        padding: 0.625rem 0.625rem 0.625rem 0 !important;
        display: flex;
        gap: 0.625rem;
    }
    
    .footer-partner-item.active {
        padding: 0.625rem 0.625rem 0.625rem 0 !important;
        display: block;
    }
    
    .footer-middle-row {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.25rem 0;
    }
    
    .footer-payments {
        justify-content: center;
        gap: 0.625rem;
    }
    
    .footer-payment-img {
        height: 1.75rem;
    }
    
    .footer-socials {
        justify-content: center;
        gap: 1.25rem;
    }
    
    .footer-social-link {
        font-size: 1.375rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
        font-size: 0.75rem;
    }
    
    .footer-copyright {
        font-size: 0.875rem;
        padding: 0.75rem 0;
    }
}
