@import './style-guide.css';

h2 {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--black);
    margin-bottom: 25px;
}

h3 {
    font-size: var(--font-h3);
    line-height: 1.5;
}

.Information-block {
    display: flex;
    margin: 0px -10px 25px;

}

.Information-picture {
    margin: 0px 10px;
    width: 50%;
    position: relative;
}

.Information-field {
    display: flex;
    flex-direction: column;
    margin: 0px 10px;
    width: 50%;
    padding: 30px;
    background-color: var(--white);
    box-shadow: 0px 1px 5px rgb(0 0 0 / 3%);
}

.Information-field>div {
    margin-bottom: 20px;
}

.Information-field>span {
    margin-bottom: 5px;
}


.Information-field>:nth-last-child(3) {
    margin-bottom: 25px;
}

.Information-field .Information-tag span {
    padding: 5px 10px;
    color: var(--white);
    background-color: var(--label-bg-yellow);
}

.Information-field .price span:nth-child(1) {
    font-weight: bold;
    font-size: var(--font-h5);
    letter-spacing: 1.5px;
}

.Information-field .price span:nth-child(2) {
    font-weight: bold;
    font-size: var(--font-h1);
    color: var(--member-red);
    letter-spacing: 1.5px;
}

.Information-field .product-info-amount div {
    border: 1px solid rgba(126, 126, 126, 0.5);
    width: 42.5px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Information-field .product-info-amount input {
    text-align: center;
    border: none;
    border-bottom: 1px solid rgba(126, 126, 126, 0.5);
    border-top: 1px solid rgba(126, 126, 126, 0.5);
    padding: 0 0 0 20px;
    width: 65px;
    height: 45px;
    position: relative;
    z-index: 2;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amount-plus:hover,
.amount-minus:hover {
    background-color: var(--upload-hover)
}

.Information-field>button {
    margin-bottom: 10px;
}

.back-btn {
    width: 100%;
}

.back-btn svg {
    margin-right: 5px;
    fill: var(--label-bg-yellow);
}

.back-btn:hover svg {
    fill: var(--white);
}


@media (max-width:991px) {
    .Information-block {
        flex-direction: column;
        margin: 0 0 25px;
    }

    .Information-picture {
        width: 100%;
        height: 50vh;
        margin: 0;
    }

    .Information-field {
        width: 100%;
        margin: 0;
    }
}


.product-block {
    display: flex;
    flex-direction: row-reverse;
}

.product-block ul {
    display: inline-table;
    padding: 0;
    background-color: var(--white);
    list-style-type: none;
    width: 280px;
    padding: 10px 0px;
    box-shadow: 0px 1px 5px rgb(0 0 0 / 3%);
}

.product-block ul li {
    padding: 20px 30px;
}

.product-block ul li a:hover {
    color: var(--label-bg-yellow);
}

.product-block ul li .active {
    color: var(--label-bg-yellow);
    position: relative;
}

.product-block ul li .active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -17px;
    background-image: url(../img/product/wave.svg);
    width: 40px;
    height: 5px;
    background-position: center;
    background-repeat: repeat-x;
}

.product-block section:nth-child(1) {
    margin-left: 20px;
    position: relative;
    width: 280px;
    min-width: 280px;

}

@media (max-width:991px) {
    .product-block section:nth-child(1) {
        display: none;
    }
}

.product-block section {
    width: 100%;
}

.product-block section .block {
    box-shadow: 0px 1px 5px rgb(0 0 0 / 3%);
    background-color: var(--white);
    border-radius: 15px;
    padding: 35px 30px 25px;
    margin-bottom: 25px;
}

.subtitle {
    font-size: var(--font-h4);
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.subtitle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0%;
    width: 200px;
    height: 2px;
    background-color: var(--label-bg-yellow);
}

.subtitle img,
.subtitle i {
    width: 30px;
    font-size: 1.875rem;
    margin-right: 10px;
}

.specification {
    margin-bottom: 15px;
}

#Shopping-guide .card {
    height: initial;
    line-height: 1.2;
    box-shadow: initial;
}

#Shopping-guide ul {
    width: 100%;
    padding: 0;
    list-style-type: none;
}

#Shopping-guide ol {
    padding: 0;
    list-style-type: none;
}

#Shopping-guide ol li {
    text-align: justify;
    margin-bottom: 15px;
}

#Shopping-guide ol li:nth-child(1) {
    margin-top: 20px;
}

#Shopping-guide .btn-link {
    border-radius: initial;
}

#Shopping-guide .btn-link:hover,
#Shopping-guide .btn-link:focus {
    color: var(--con-font-black);
    text-decoration: none;

}

.accordion .card button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--con-font-black);

}

.accordion .card button i {
    font-size: var(--font-h3);
    color: var(--con-font-black);
}

.accordion>.card>.card-header {
    padding: 0;
    background-color: initial;
    border-bottom: 2px solid var(--sub-font-gray);
}

.accordion>.card>.card-header>:not(.collapsed) {
    background-color: var(--sub-font-gray);
}

.accordion>.card>.card-header>:not(.collapsed) i {
    transform: rotate(180deg);
}


ul.Business-information {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

ul.Business-information li {
    border-bottom: 1px solid var(--input-boder);
}

ul.Business-information li>span:nth-child(1) {
    display: inline-table;
    width: 150px;
}

@media (max-width:768px) {
    ul.Business-information li {
        line-height: 1;
        display: flex;
        flex-direction: column;
    }

    ul.Business-information li span {
        margin-bottom: 10px;
        word-break: break-all;
    }
}


.swiper-button-next {
    right: -5px;
}

.swiper-button-prev {
    left: -5px;
    transform: rotate(180deg);
}

.swiper-button-next,
.swiper-button-prev {
    top: inherit;
    bottom: 35px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background-image: url(../img/chevron-circle-right-solid.svg);
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.22);
    filter: invert(1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    background-color: var(--white);
    font-size: 1.2rem;
    opacity: 0;
    /* color: white; */
    text-align: center;
    font-weight: bold;
}