/* Store Order Footer Styles (ab/usappy subdomain) */

.store-order-footer {
    margin-top: 20px;
}

.store-order-footer .ab-message {
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background-color: #413737;
    padding: 15px;
    margin-bottom: 15px;
}

.store-order-footer .agencies {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 8px;
}

.store-order-footer .agencies.ab {
    background-color: #f06d01;
}

.store-order-footer .agencies dt,
.store-order-footer .agencies dd {
    float: left;
    height: 70px;
    line-height: 70px;
}

.store-order-footer .agencies dd {
    color: #000;
    font-size: 2em;
    font-weight: bold;
    margin-left: 1em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.25);
}

.store-order-footer .agencies.ab dl dd:first-of-type {
    margin-right: 200px;
}

.store-order-footer .agencies.ab dl dd p.title {
    line-height: 30px;
    font-size: 0.6em;
}

.store-order-footer .agencies.ab dl dd p.content {
    line-height: 20px;
    font-size: 0.55em;
}

.store-order-footer .agencies.ab dl dd p.content span {
    display: inline-block;
    width: 180px;
}

.store-order-footer .autobacs-barcode {
    text-align: center;
    margin-bottom: 20px;
}

.store-order-footer .autobacs-barcode img {
    max-width: 100%;
    height: auto;
}

.store-order-footer .autobacs-barcode .icon-pdf {
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
}

.store-order-footer .autobacs-barcode .icon-pdf img {
    width: 40px;
    height: auto;
}

/* PDF Link */
.store-order-footer .store-order-pdf-link {
    text-align: center;
    margin-bottom: 20px;
}

.store-order-footer .store-order-pdf-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f06d01;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
}

.store-order-footer .store-order-pdf-link a:hover {
    background: #d65f00;
}

.store-order-footer .store-order-pdf-link a img {
    width: 28px;
    height: auto;
}

/* Bottom Area */
.store-order-footer .bottom-area {
    background-color: #413737;
    color: #fff;
    text-align: center;
    padding: 25px 15px;
}

.store-order-footer .bottom-area .desc {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 15px;
}

.store-order-footer .bottom-area .order {
    display: inline-block;
    font-size: 25px;
    font-weight: bold;
    color: #fff;
    padding: 5px;
    min-width: 330px;
    margin-left: 5px;
    margin-right: 5px;
    background-color: #777;
}

.store-order-footer .bottom-area .active .order {
    background-color: #E40B05;
    cursor: pointer;
}

.store-order-footer .bottom-area a.active .order:hover {
    background-color: #e02e29;
}

.store-order-footer .bottom-area a {
    cursor: auto;
    text-decoration: none;
}

/* Matching Info */
.store-order-footer .matching-info {
    margin-bottom: 20px;
}

.store-order-footer .matching-info label {
    cursor: pointer;
    font-size: 19px;
    color: #fff;
}

.store-order-footer .matching-info label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.5);
    vertical-align: middle;
}

/* Matching Info Caution */
.store-order-footer .matching-info-caution {
    margin-top: 10px;
    font-size: 14px;
}

.store-order-footer .matching-info-caution.active {
    color: #ff0000;
    text-decoration: underline;
}

/* Autobacs Footer */
.store-order-footer #autobacs-footer {
    min-width: 980px;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 15px;
}

/* Clearfix */
.store-order-footer .clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Styles */
@media screen and (max-width: 1000px) {
    .store-order-footer #autobacs-footer {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .store-order-footer #autobacs-footer {
        min-width: 100%;
    }

    .store-order-footer .bottom-area .matching-info-net-link {
        display: block;
    }

    .store-order-footer .bottom-area .matching-info-shop-link {
        display: block;
        margin-bottom: 10px;
    }

    .store-order-footer .agencies.ab dl dd:first-of-type {
        margin-right: 5%;
    }

    .store-order-footer .agencies.ab dl dd:nth-of-type(2) {
        text-align: left;
    }
}

@media screen and (max-width: 414px) {
    .store-order-footer .bottom-area .desc {
        font-size: 20px;
    }

    .store-order-footer .bottom-area .order {
        min-width: 280px;
        font-size: 20px;
    }

    .store-order-footer .agencies.ab dl dd:first-of-type {
        margin-right: 0;
        line-height: 1em !important;
        height: 1.2em;
        width: 90%;
        text-align: left;
        font-size: 1.3em;
    }

    .store-order-footer .agencies.ab dl dd:nth-of-type(2) {
        font-size: 1.3em;
    }

    .store-order-footer .agencies.ab dl dd:nth-of-type(2) .title {
        font-size: 0.8em;
    }

    .store-order-footer .agencies.ab dl dd:nth-of-type(2) .content {
        font-size: 0.7em;
    }

    .store-order-footer .matching-info label {
        font-size: 15px;
    }
}

@media screen and (max-width: 374px) {
    .store-order-footer .bottom-area .desc {
        font-size: 16px;
    }

    .store-order-footer .bottom-area .order {
        font-size: 16px;
        min-width: 240px;
    }
}
