/*
Theme Name: Uthr - Child
Template: uthr
Version: 1.0.0
Text Domain: uthr
*/

/*---------------------------------
    write your css from here
------------------------------------*/

.uthr-logo img { 
    max-width: 50%;
}

.footer-left-content .footer-logo img {
    max-width: 35%;
}

/* Cart / checkout shipping info boxes */
.uthr-checkout-shipping-info {
    margin: 40px 0 20px;
    padding: 28px 10px;
    background: linear-gradient(180deg, #f7fbfb 0%, #ffffff 100%);
    border-top: 1px solid #e5efef;
}

.uthr-shipping-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 8px;
}

.uthr-shipping-info-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(64, 224, 208, 0.15);
    color: #40E0D0;
    font-size: 26px;
    line-height: 1;
}

.uthr-shipping-info-title {
    display: block;
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.uthr-shipping-info-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #666;
}

@media (max-width: 767px) {
    .uthr-checkout-shipping-info {
        margin-top: 28px;
        padding: 18px 4px;
    }

    .uthr-shipping-info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        margin-bottom: 16px;
    }

    .uthr-shipping-info-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
}

/* Red shipping / delivery charge notice */
.uthr-shipping-notice {
    margin: 16px 0 8px;
    color: #e31c23;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.wc-block-checkout .uthr-shipping-notice {
    margin: 12px 0 20px;
    padding: 0 2px;
}

/* Terms & Conditions accordion (below order summary) */
.uthr-checkout-info-sources {
    display: none !important;
}

.uthr-checkout-terms-box {
    margin: 20px 0 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.uthr-checkout-terms-title {
    margin: 0 0 14px;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.uthr-checkout-terms-item {
    border-top: 1px solid #ececec;
}

.uthr-checkout-terms-item:last-child {
    border-bottom: 1px solid #ececec;
}

.uthr-checkout-terms-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

.uthr-checkout-terms-toggle:hover,
.uthr-checkout-terms-toggle:focus {
    color: #111;
    outline: none;
}

.uthr-checkout-terms-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    color: #40E0D0;
    font-size: 22px;
    line-height: 1;
}

.uthr-checkout-terms-item-label {
    flex: 1;
}

.uthr-checkout-terms-chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.uthr-checkout-terms-item.is-open .uthr-checkout-terms-chevron {
    transform: rotate(225deg);
    margin-top: 4px;
}

.uthr-checkout-terms-item-body {
    display: block;
    padding: 0 4px 14px 40px;
    font-size: 14px;
    line-height: 1.55;
    color: #555;
}

.uthr-checkout-terms-item-body[hidden] {
    display: none !important;
}

.uthr-checkout-terms-item.is-open .uthr-checkout-terms-item-body {
    display: block !important;
}

.uthr-checkout-terms-item-body p:last-child {
    margin-bottom: 0;
}

.wc-block-checkout .uthr-checkout-terms-box,
.wc-block-components-sidebar-layout .uthr-checkout-terms-box {
    margin-top: 16px;
}

@media (max-width: 767px) {
    .uthr-checkout-terms-item-body {
        padding-left: 4px;
    }
}