/* BASIC css start */
.main-slider-wrap {
    padding: 10px 0 0;
    overflow: hidden;
}
.mySwiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;  
    gap: 10px; 
    overflow: hidden;  
}

.mySwiper:not(.swiper-initialized) .swiper-slide {
    width: 75%;
    flex-shrink: 0; 
}
.mySwiper {
    width: 100%;
    padding-bottom: 20px; 
}
.mySwiper .swiper-slide {
    width: 75%;
    border-radius: 6px;
    overflow: hidden; 
}
.mySwiper .swiper-slide-active { 
}
.mySwiper .swiper-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1; 
    background-color: #f5f5f5;
}

.slider-controls {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 5px;
}

.slider-controls .swiper-pagination {
    position: relative;
    flex-grow: 1;
    width: auto !important;
    left: auto !important;
    top: auto !important;
    height: 3px !important;
    background-color: #eeeeee;
}
.slider-controls .swiper-pagination-progressbar-fill {
    background-color: #000 !important;
}

.fraction-wrap {
    font-size: 11px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 1px;
    margin-left: 10px;
}
.fraction-wrap .current {
    color: #333;
    font-weight: 500;
}

.btn-more-slides {
    width: 14px;
    height: 14px;
    border: 0;
    font-weight: normal;
    background: url(/design/mgkshop/images/m_button_more.png) no-repeat center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    background-size: contain;
} 

.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.quick-menu-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 5px;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    text-align: center;
    justify-content: center;
}

.quick-menu-grid a:nth-child(4n) { border-right: none; }
.quick-menu-grid a:nth-child(n+5) { border-bottom: none; }

.quick-menu-grid a:nth-child(5) {
    background-color: #fff0f0;
}

.quick-menu-grid .icon-img {
    width: 100%;
}
.quick-menu-grid .menu-img {
    width: 35%;
    max-width: 28px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-menu-grid a.oneplusone .menu-img {
    width: 31%;
    max-width: 25px;
}

.quick-menu-grid .menu-txt {
    font-size: 11px;
    color: #333333;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 35px;
    padding-left: 15px;
    padding-right: 15px;
}
.section-header h2 {font-size: 16px;font-weight: bold;color: #000;letter-spacing: -0.02em;}
.section-header h2 span {
    color: var(--maincolor);
}

.sec-coupon {
    background: #f4f6f8;
    padding: 0 0 35px;
    margin-top: 35px;
}
.coupon-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    flex-direction: column;
    padding: 0 15px;
}

.coupon-card {
    display: flex;
    align-items: stretch;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.07);
}

.coupon-info {
    flex: 1;
    padding: 10px 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coupon-title {
    margin: 0;
    font-weight: bold;
    color: #000;
    font-size: 11px;
}

.coupon-discount {
    margin: 0;
    font-size: 11px;
    font-weight: bold;
    color: #da120d;
}

.coupon-discount strong {
    font-size: 15px;
    font-weight: bold;
}

.coupon-condition {
    font-size: 10px;
    color: #999999;
}

.coupon-divider {
    width: 1px;
    margin: 4px 0;
    border-left: 1px dashed #dcdcdc;
}

.coupon-action {
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #edf8f8;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-download:hover {
    background-color: #e0f0ef;
}
.coupon-all-download {
    padding: 10px 15px 0;
    display: flex;
    gap: 10px;
}

.coupon-all-download button {
    border: 1px solid #dddddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    background: #fff;
    flex: 1;
    font-size: 12px;
}  

.banner-grid {
    display: flex;
    gap: 20px;
    width: 100%;
}

.banner-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.banner-item {
    display: block;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-item:hover {
    transform: translateY(-4px);
}

.banner-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.sec-trend {
}

.banner-slider-wrap {
    position: relative;
    margin: 35px 15px 0;
}

.myBannerSwiper {
    width: 100%;
    overflow: hidden;
    padding: 0 0 18px !important;
}
.myBannerSwiper .swiper-slide {
    border-radius: 4px;
    overflow:hidden;
}
.myBannerSwiper .swiper-slide img {
    width: 100%;
}

.banner-slider-wrap .swiper-pagination {
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.banner-slider-wrap .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #eeeeee;
    opacity: 1;
    margin: 0 !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.banner-slider-wrap .swiper-pagination-bullet-active {
    width: 20px;
    background-color: #000;
    border-radius: 4px;
}



.all-promotion {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.all-promotion.active {
    visibility: visible;
}
.all-promotion .box__dimmed {
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000;
    opacity: 0;
}
.all-promotion.active .box__dimmed {
    visibility: visible;
    opacity: 0.5;
    transition: opacity .2s ease;
    transition-timing-function: cubic-bezier(0.2, 0, 0.6, 1);
}
.all-promotion .box_item {
    overflow: hidden;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 100%;
    background: #fff;
    margin-top: 48px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    z-index: 1010;
    transition-property: top;
    transition-delay: 0.1s;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.2, 0, 0.6, 1);}
.all-promotion.active .box_item {
    top: 0;
    transition-property: top;
    transition-delay: 0.1s;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.2, 0, 0.6, 1);}

.all-promotion #banner-layer-title {
    display: block;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    line-height: 48px;
    text-align: center;
    border-bottom: 1px solid #f5f5f5;
}


.all-promotion #banner-layer-title h3 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}


.all-promotion #banner-layer-title .button_closed {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 0;
    outline: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.all-promotion .list_item {
    overflow-y: auto;
    height: calc(100% - 96px);
}

.all-promotion .list-item img {
    width: 100%;
}
 

.instagram > .inner {margin-left: 15px;}
.instagram > .inner .section-header {padding-left: 0;}
.instagram > .inner .section-header h2 > a {
    font-size: 16px;
    font-weight: normal;
    color: #777;
    display: block;
    width: fit-content;
}

/* BASIC css end */

