/* SHOP CARD START */
.macro_shop_card {
    --spacing: .6rem;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
    padding: var(--spacing);
    gap: var(--spacing);
    cursor: pointer;
    position: relative;
}
.macro_shop_card:hover {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.shop-title {
    color: #333;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.macro_shop_card--main_img {
    width: 100%;
    height: 0;
    padding-top: 60%;
    position: relative;
    background-color: var(--bs-gray-200);
}
.macro_shop_card--main_img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.macro_shop_card--sub_images {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: var(--bs-gray-200);
    padding: var(--spacing);
    gap: var(--spacing);
}
.macro_shop_card--subimg_container {
    position: relative;
    padding-top: 100%;
}
.macro_shop_card--subimg_container img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; bottom: 0;
    left: 0; right: 0;
    object-fit: cover;
}
.macro_shop_card--shop_title {
    font-size: 14px;
    width: 100%;
    color: var(--bs-gray-800)!important;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    align-items: center;
}
.macro_shop_card--shop_title > div {
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
}
@media (max-width: 991px) {
    .macro_shop_card--sub_images {
        display: none;
    }
}
@media (min-width: 768px) {
    .macro_shop_card--shop_title {
        font-size: 14px;
    }
}
@media (min-width: 992px) {
    .macro_blog_card {
        --spacing: 1rem;
    }
}

.macro_shop_card--heart {
    width: 32px;
    height: 32px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    --theme: #EEE;
    --border: var(--bs-gray-500);
}
.macro_shop_card--heart_active {
    --theme: #E40012;
    --border: #E40012;
}

.macro_shop_card--heart svg {
    width: 20px;
    height: 20px;
}
.macro_shop_card--heart.loading {
    pointer-events: none;
}
.macro_shop_card--heart.loading svg {
    display: none;
}
.macro_shop_card--heart.loading::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 2px solid var(--bs-gray-500);
    border-left-color: transparent;
    animation: Loading .6s linear infinite;
}
/* SHOP CARD END */

/* BLOG LIST START */
.macro_blog_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 0;
    border-top: 1px solid var(--bs-gray-400);
    padding: 0;
    margin: 0;
}
.macro_blog_item {
    border-bottom: 1px solid var(--bs-gray-400);
    padding: .75rem 0;
}
.macro_blog_card {
    display: grid;
    grid-template-columns: minmax(40%, 150px) minmax(0, 1fr);
    justify-content: flex-start;
    align-items: stretch;
    gap: .75rem;
    padding: 0 .75rem;
}
.macro_blog_img {
    /* width: 50%;
    max-width: 150px; */
}
.macro_blog_img--container {
    width: 100%;
    height: 0;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    border-radius: 1px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
.macro_blog_img--container img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.macro_blog_detail,
.macro_blog_detail--title,
.macro_blog_detail--description {
    font-size: 14px;
}
.macro_blog_detail--date {
    font-size: 11px;
}
.macro_blog_detail--title {
    margin: .25rem 0;
    font-weight: 600;
    color: var(--bs-gray-800);
}
.macro_blog_detail--blog_category {
    margin: 0;
    padding: .5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .5rem;
}
.macro_blog_detail--blog_category a {
    font-size: .75rem;
    border: 1px solid var(--bs-gray-500);
    padding: .2rem .5rem;
    background-color: var(--bs-gray-100);
    color: var(--bs-gray-700);
}
@media (min-width: 640px) {
    .macro_blog_item:nth-child(odd) .macro_blog_card {
        border-right: 1px solid var(--bs-gray-400);
    }
    .macro_blog_item:nth-child(even) .macro_blog_card {
        padding-left: 1rem;
    }
}
@media (min-width: 768px) {
    .macro_blog_list {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
}
@media (min-width: 992px) {
    .macro_blog_list {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}
/* BLOG LIST END */

/* PRODUCT CARD START */
.macro_product_card {
    --spacing: .6rem;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: stretch;
    padding: var(--spacing) var(--spacing) calc(var(--spacing) * 2);
    gap: var(--spacing);
    cursor: pointer;
}
.macro_product_card--img {
    width: 100%;
    height: 0;
    padding-top: 100%;
    position: relative;
}
.macro_product_card--img_container {
    position: absolute;
    z-index: 0;
    top: 0; bottom: 0;
    width: 100%; height: 100%;
}
.macro_product_card--img_container img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.macro_product_card--heart {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    --theme: #EEE;
    --border: var(--bs-gray-500);
}
.macro_product_card--heart svg {
    width: 24px;
    height: 24px;
}
.macro_product_card--heart_active {
    --theme: #E40012;
    --border: #E40012;
}
.macro_product_card--heart.loading {
    pointer-events: none;
}
.macro_product_card--heart.loading svg {
    display: none;
}
.macro_product_card--heart.loading::after {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 2px solid var(--bs-gray-500);
    border-left-color: transparent;
    animation: Loading .6s linear infinite;
}
.macro_price01-default {
    font-size: 10px;
    line-height: 1;
}
.macro_price02-default {
    font-size: 13px;
    line-height: 1;
}
.macro_product_card--detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    gap: .3rem;
}
.macro_product_card--tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.macro_product_card--tag {
    padding: 0 .5rem;
    height: 1.2rem;
    font-size: 10px;
    color: var(--bs-gray-800)!important;
    border: 1px solid var(--bs-gray-800);
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}
.macro_product_card--name {
    color: var(--bs-gray-800)!important;
}
.macro_product_card--desc {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2rem;
    color: #555;
}
@keyframes Loading {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* PRODUCT CARD END */