/*
Theme Name: Buy Ivermectin Theme
Description: Clinical, calm blue pharmacy theme for buyivermectinonlineusa.com. WooCommerce-ready.
Version: 1.0.0
*/


/* Shyama's css */

/* Header */
div#mam-currency-switcher {
    display: none;
}

.top-head {
    margin: auto;
    padding: 0 18px;
    text-decoration: none;
}

.top-head a {
    text-decoration: none;
}

.top-head i {
    margin-right: 5px;
}

.wordmark img {
    max-width: 220px;
}

.foot-logo img {
    max-width: 180px;
}
.hdr-cart-pill:hover{
    color: #fff;
}

/* Footer */
.foot-social {
    display: flex;
    gap: 8px;
}

.foot-social i {
    color: #7c3aed;
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
    font-size: 13px;
}

.ivm-fcol {
    border-right: 1px solid #e9e4f7;
    padding-right: 15px;
    padding-left: 15px;
}

.ivm-footer-grid>.ivm-fcol:last-child {
    border-right: none !important;
    padding: 0 !important;
}

.ivm-footer-grid .ivm-fcol:nth-child(5) li:nth-child(4),
.ivm-footer-grid .ivm-fcol:nth-child(5) li:nth-child(6) {
    margin-left: 24px;
}

.ivm-fcol li {
    font-size: 13px;
}

.ivm-fcol li i {
    color: #7c3aed;
}

.ivm-footer-grid .ivm-fcol:nth-child(5) li:nth-child(3) i,
.ivm-footer-grid .ivm-fcol:nth-child(5) li:nth-child(5) i {
    margin-right: 10px;
}

.newsletter-form {
    background: #fff;
    border: 1px solid #e9e4f7;
    border-radius: 8px;
    padding: 30px 20px 18px;
    gap: 12px;
    margin-top: 45px;
}

.newsletter-form .form-control {
    width: 800px;
    padding: 9px 10px;
    font-size: 13px;
}

.newsletter-form label.control-label {
    display: none;
}

.newsletter-form .email-label {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.newsletter-form .container {
    padding: 0;
}

.newsletter-form p.help-text {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    max-width: unset;
}

#newsletters-1-form .form-control {
    background-color: #ffffff !important;
    color: #555 !important;
    border-radius: 20px !important;
    border-color: #e9e4f7 !important;
}

.newsletter-form .newsletters-acknowledgement {
    color: green;
    font-size: 14px;
}

#newsletters-1-form .btn {
    border-radius: 20px !important;
    padding: 10px 18px;
    font-size: 13px;
}

.newsletters-fieldholder-visible {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#newsletters-form-1-submit {
    margin-left: 30px;
}

.newsletters-subscribe-form-ajax {
    display: flex;
}

#newsletters-1-form .btn-primary {
    padding: 8px 25px;
    background: #7c3aed !important;
    color: #ffffff;
    border: 1.5px solid #7c3aed !important;
}

/* Home page */
.font-display{
    font-size: 24px;
    color:var(--ink);
    margin: 15px 0 10px;
}
.hero__frame {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust {
    background: #f7f5ff;
    border: 1px solid #eee7ff;
    border-radius: 12px;
    padding: 14px 18px;
    width: 100%;
    box-sizing: border-box;
}
section.trust-section {
    margin-top: 40px;
}

.trust ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.trust ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    position: relative;
}

/* Divider */
.trust ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: #ddd2ff;
}

.trust ul li img {
    width: 42px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
    padding: 8px;
    background: #ede9fe;
    border-radius: 50%;
}

.trust ul li>span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust ul li b {
    color: #7c3aed;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.trust ul li span span {
    color: #6b7280;
    font-size: 11px;
    line-height: 1.5;
}

.catgrid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 6px;
}
.shop-by-cat{
    padding:40px 0;
    text-align: center;
    background: #f7f5ff;
    margin-top: 40px;
}
.shop-by-cat p {
    font-size: 13px;
    color: #5d5875;
}
.catcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    min-height: 100px;
    background: #ffffff;
    border: 1px solid #eee8ff;
    border-radius: 12px;
    text-decoration: none !important;
    color: #7c3aed !important;
    transition: all 0.25s ease;
}

/* Hover */
.catcard:hover {
    border-color: #7c3aed;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.15);
}

/* Category Image */
.catcard__pic {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catcard small{
    color: #6b7280;
    font-size: 11px;
    line-height: 1.5;
}
.catcard__pic img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Category text */
.catcard span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.catcard span b {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #35215e;
    transition: color 0.25s ease;
}

/* Product count */
.catcard span small {
    font-size: 11px;
    color: #8b7bb5;
    font-weight: 400;
}

/* Hover text color */
.catcard:hover span b {
    color: #7c3aed;
}

/* Hover icon */
/* .catcard:hover .catcard__pic img {
    filter: brightness(0) invert(1);
} */




/* ============================================ Media Query ====================================== */


@media (max-width: 767px) {
    .top-head {
        padding: 0;
    }

    .top-head div {
        font-size: 8px;
    }

    .ivm-footer-grid>.ivm-fcol:last-child {
        margin-right: 15px !important;
        margin-left: 15px !important;
    }

    .ivm-fcol {
        border-right: none !important;
    }

}

/* Mobile */
@media (max-width: 480px) {

    .catgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trust {
        padding: 10px;
        border-radius: 10px;
    }

    .trust ul {
        row-gap: 8px;
    }

    .trust ul li {
        gap: 8px;
        padding: 8px 5px;
    }

    .trust ul li img {
        width: 32px;
        height: 32px;
        padding: 6px;
    }

    .trust ul li b {
        font-size: 11px;
    }

    .trust ul li span span {
        font-size: 10px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .catgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .catcard {
        min-height: 95px;
        padding: 12px 8px;
    }

    .trust {
        padding: 12px;
    }

    .trust ul {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 12px;
    }

    .trust ul li {
        padding: 10px;
    }

    .trust ul li:nth-child(2)::after {
        display: none;
    }
}