/* 상품 아이템 스타일 */
.template-goods-container {
    position: relative;
}

.template-goods-container > ul {
    display: grid;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .template-goods-container > ul {
        padding: 0;
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .template-goods-container > ul {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }
}

.device-list-item {
    background: #fff;
    border: 1px solid var(--colorgray);
    border-radius: 8px;
    text-align: center;
}

.list-item-box {
    position: relative;
}

.list-item-box.list-p {
    
}

.list-item-box.list-m {
    display: none;
}

.device-list-image {
    position: relative;
    padding: 15px;
}

.device-list-image > a {
    display: block;
}

.device-list-image > a > img {
    width: 200px;
    height: 200px;
}

.item-icons {
    position: absolute;
    left: 10px;
    top: 10px;
}

.item-icons > .icon {
    display: inline-block;
    padding: 0 7px;
    font-weight: normal;
    border-radius: 3px;
    line-height: 22px;
    font-size: 13px;
}

.device-list-content {
    position: relative;
    padding: 0 15px 15px 15px;
}

.device-list-content > .device-name {
    margin-bottom: 5px;
}

a.device-link {
    color: #333;
}

a.device-link:hover,
a.device-link:focus {
    color: #333;
}

.device-list-content > .giga-list {
    display: flex;
    justify-content: center;
}

.device-list-content > .giga-list > li {

}

.device-list-content > .giga-list > li + li {
    margin-left: 3px;
}

.device-list-content > .giga-list > li > span {
    display: inline-block;
    padding: 0 6px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    color: #333;
    line-height: 21px;
}

.device-list-content > .color-list {
    display: flex;
    justify-content: center;
    margin-top: 7px;
}

.device-list-content .color-list > li {

}

.device-list-content > .color-list > li + li {
    margin-left: 3px;
}

.device-list-content > .color-list > li > .color-circle {
    width: 13px;
    height: 13px;
}

.device-list-content > .color-list > li > .color-name {
    display: none;
}

.device-list-content > .model-tags {
    display: flex;
    justify-content: center;
    margin-top: 7px;
}

.device-list-content > .model-tags > .device-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--coloraccent);
}

.device-list-content > .model-tags > .device-tag + .device-tag {
    margin-left: 5px;
}

.device-list-content > .price-box {
    position: relative;
    padding: 15px 15px;
}

.device-list-content > .price-box dl {
    display: flex;
    justify-content: space-between;
    line-height: 23px;
}

.device-list-content > .price-box dl.model-price {
    font-size: 16px;
    color: var(--colorgray);
}

ul.channel-prices {
    position: relative;
}

ul.channel-prices > .channel-row {
    display: flex;
    margin-top: 7px;
    align-items: center;
}

ul.channel-prices > .channel-row > span {
    display: inline-block;
    align-self: center;
    letter-spacing: -0.5px;
}

ul.channel-prices > .channel-row > span + span {
    margin-left: 5px;
}

ul.channel-prices > .channel-row >.channel-telecom {
    width: 21px;
    height: 21px;
    overflow: hidden;
}

ul.channel-prices > .channel-row > .channel-telecom img {
    width: 100%;
    height: 100%;
}

ul.channel-prices > .channel-row >.channel-ordertype {
    font-size: 11px;
    padding: 2px 8px;
    background-color: #fff;
    border: 1px solid var(--colorgray);
    color: var(--darkgray);
    min-width: 60px;
    text-align: center;
    line-height: 1.2;
    border-radius: 4px;
}

ul.channel-prices > .channel-row >.channel-name {
    font-size: 11px;
    padding: 2px 8px;
    background-color: #fff;
    border: 1px solid var(--colorgray);
    color: var(--darkgray);
    min-width: 60px;
    text-align: center;
    line-height: 1.2;
    border-radius: 4px;
}

ul.channel-prices > .channel-row >.channel-price {
    margin-left: auto;
    color: var(--coloraccent);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    align-self: flex-end;
    letter-spacing: -0.5px;
}

@media(max-width: 768px) {
    .device-list-item {
        background: #fff;
        border: 0;
        border-top: 1px solid var(--darknavy);
        border-radius: 0;
        text-align: left;
    }

    .device-list-item:last-child {
        border-bottom: 1px solid var(--lightgray);
    }

    .list-item-box.list-p {
        display: none !important;
    }

    .list-item-box.list-m {
        display: flex;
        padding: 20px 10px 15px 10px;
    }

    .device-list-image {
        flex: 0 0 120px;
        max-width: 120px;
        padding: 10px;
    }

    .device-list-image > a {
        display: block;
    }

    .device-list-image > a > img {
        max-width: 100%;
        height: auto;
    }

    .item-icons {
        position: absolute;
        left: 5px;
        top: 3px;
    }

    .item-icons > .icon {
        display: inline-block;
        padding: 0 4px;
        font-weight: normal;
        border-radius: 2px;
        line-height: 21px;
        font-size: 11px !important;
    }

    .device-list-image > .giga-list {
        display: flex;
        justify-content: center;
    }

    .device-list-image > .giga-list > li {

    }

    .device-list-image > .giga-list > li + li {
        margin-left: 3px;
    }

    .device-list-image > .giga-list > li > span {
        display: inline-block;
        padding: 0 4px;
        font-size: 9px;
        border-radius: 4px;
        border: 1px solid #ddd;
        color: #333;
        line-height: 19px;
    }

    .device-list-image > .color-list {
        display: flex;
        justify-content: center;
        margin-top: 7px;
    }

    .device-list-image > .color-list > li {

    }

    .device-list-image > .color-list > li + li {
        margin-left: 3px;
    }

    .device-list-image > .color-list > li > .color-circle {
        width: 13px;
        height: 13px;
    }

    .device-image > .color-list > li > .color-name {
        display: none;
    }

    .device-list-content {
        position: relative;
        padding: 0;
        padding-left: 10px;
    }

    .device-list-content > .device-name {
        margin-bottom: 7px;
    }

    .device-list-content > .model-tags {
        display: flex;
        justify-content: flex-start;
        margin: 0;
    }

    .device-list-content > .model-tags > .device-tag {
        display: inline-block;
        font-size: 12px;
        font-weight: 700;
        color: var(--coloraccent);
    }

    .device-list-content > .model-tags > .device-tag + .device-tag {
        margin-left: 5px;
    }

    .device-list-content > .price-box {
        position: relative;
        padding: 10px 0;
    }

    .device-content > .price-box dl {
        display: flex;
        justify-content: space-between;
        line-height: 23px;
    }
    
    ul.channel-prices {
        position: relative;
        padding: 12px 10px;
        background-color: #f9fafb;
        border-radius: 8px;
    }

    ul.channel-prices > .channel-row {
        flex-wrap: wrap;
    }

    ul.channel-prices > .channel-row > .channel-telecom {
    }
    ul.channel-prices > .channel-row > .channel-ordertype {
    }
    ul.channel-prices > .channel-row > .channel-name {
    }
    ul.channel-prices > .channel-row > .channel-price {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: right;
        font-size: 15px;
        margin-top: 3px;
        letter-spacing: -0.5px;
    }
}