.input-prepend.input-append input {
  font-size: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
  width: 100px;
  text-align: right;
}
.stock_error {
  color: #DB5656;
}



.item_dtl{
    display: grid;
    gap: 0 40px;
    grid-template-columns: 560px 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
    "box2 box1"
    "box2 box3";
}
.item_dtl .title{
    grid-area: box1;
    align-self: start;
}
.item_dtl .title .itemname{
    font-weight: bold;
    margin-bottom:30px;
    color: #5C3223;
    font-size: 22px;
    line-height: 1.2;
}
.item_dtl .image{
    grid-area: box2;
}
.item_dtl .cart{
    grid-area: box3;
}
@media (max-width:1180px){
    .item_dtl{
        grid-template-columns: 280px 1fr;
    }
}
@media (max-width:770px){
    .item_dtl{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
        "box1"
        "box2"
        "box3";
    }
    .item_dtl .cart{
        margin-top:30px;
    }
}


/*  */
.dtl_section{
    margin-top:50px;
}


/*  */
.item_table{
    border-bottom: 1px solid #cdc4c1;
}
.item_table th,
.item_table td{
    border-top:1px solid #cdc4c1;
    padding: 10px;
    line-height: 1.2;
}
.item_table th{
    width: 7em;
}
.item_table .price{
    font-weight: bold;
    font-size: 18px;
}


/*  */
.dtl_link_wrapper{
    background: #f5f3f0;
    padding: 30px;
}
.dtl_link_wrapper .link{
    width: 100%;
    max-width: 580px;
    margin-right: auto;
    margin-left: auto;
}
.dtl_link_wrapper .linkbox + .linkbox{
    margin-top:5px;
}
.dtl_link_wrapper .linktxt{
    display: block;
    padding: 10px 1em;
    background: #fff;
    border-radius: 5px;
}


/*  */
.item_image{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.item_image .main{
    width: 100%;
}
.item_image .sub{
    width: calc((100% - 5px * 2) / 3);
}
.item_image .img{
    object-fit: contain;
    width: 100%;
    aspect-ratio: 4 / 3;
}


/*  */
.buy_kosuu,
.buy_kosuu .input-prepend{
    display: flex;
    justify-content: center;
    align-items: center;
}
.buy_kosuu .btn,
.buy_kosuu .input-prepend.input-append input{
    height: 50px;
}
.buy_kosuu .btn{
    padding:7px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.buy_kosuu .input-prepend.input-append input{
    padding:10px;
}

/*  */
.item_dtl .btn-lg{
    /* background-image: linear-gradient(to bottom, #9D0300, #7A0215) !important; */
    background: linear-gradient(to bottom,
    #f5c26c 0%,
    #cd8916 100%) !important;
    border-radius: 3px;
    font-weight: bold;
    border: none;
    color: #fff;
    width: 100%;
    padding: 20px 10px;
    line-height: 1;
}