.navigation-fixed {
    position: relative !important;
}

.header-empty {
    display: none;
}

#customize-ldp {
    --bg: var(--bgColor);
    --color: var(--textColor);
    background-color: var(--bg);
    color: var(--color);
}

#customize-ldp > *:first-child {
    margin-top: 0;
    padding-top: 0;
}

#customize-ldp > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

#customize-ldp .lp-content {
    padding-bottom: 32px;
}

#customize-ldp a,
#customize-ldp button {
    transition: color 250ms ease-in-out, border-color 250ms ease-in-out;
}

#customize-ldp > p  {
    text-align: center;
    font-size: 16px;
}

#customize-ldp > p img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: center;
}

.list-code-apply {
    width: 100%;
    max-width: 1280px;
    margin: 16px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 16px;
}
.lp-content {
    width: 100%;
    max-width: 1280px;
    margin: 32px auto 16px;
    display: block;
}

.lp-item-banner {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 31px;
    margin-bottom: 16px;
    user-select: none;
}

.lp-item-banner a {
    color: var(--color);
    display: block;
}

.code-apply-item {
    --w: calc(90px + (140 - 90) * ((100vw - 300px) / (1920 - 300)));
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgb(11 11 11 / 11%);
    border: 1px solid #e8e8e8;
    background-color: #fff;
    color: #333;
    border-radius: 5px;
}
.code-apply-title {
    font-size: 19px;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.close-apply-code {
    cursor: pointer;
    color: #999;
}

.close-apply-code:hover {
    color: #000;
}

.promotion-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promotion-description {
    padding: 0;
    margin: 0;
    display: none;
    color: #666;
}

.promotion-description p {
    margin: 4px 0;
}

.show-policy {
    position: absolute;
    opacity: 0;
}

.show-policy:checked ~  .promotion-description {
    display: block;
}

.promotion-description > *:first-child {
    margin-top: 0;
    padding-top: 0;
}

.promotion-description > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.code-apply-logo {
    width: var(--w);
    position: relative;
}

.code-apply-logo::after {
    content: '';
    display: block;
    padding-top: 70%;
}

.code-apply-logo-content-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: calc(31px + (51 - 31) * ((100vw - 300px) / (1920 - 300)));;
    color: #dc5238;
    font-weight: 600;
}

.code-apply-logo::after {
    content: '';
    display: block;
    padding-top: 70%;
}


.svg-txt {
    font-weight: 600;
    font-size: 15px;
    margin-top: 4px;
    text-transform: uppercase;
}
.code-apply-content {
    width: calc(100% - var(--w) - 16px);
    border-left: 1px dashed #e1e1e1;
    position: relative;
    padding-left: 16px;
    margin-left: 16px;
}

.code-apply-content .dot-before,
.code-apply-content .dot-after {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 16px;
    position: absolute;
    left: -9px;
    background-color: var(--bg);
}

.code-apply-content .dot-before {
    top: -22px;
    transform: rotate(45deg);
}
.code-apply-content .dot-after {
    bottom: -22px;
    transform: rotate(-135deg);
}

.code-apply-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    width: 100%;
}

.apply-button {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    outline: none;
    width: 170px;
    padding: 7px 10px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 300ms ease;
    font-size: 14px;
    font-weight: 500;
}

.policy-btn {
    background: none;
    border: none;
    outline: none;
    display: block;
    text-align: right;
    width: 100%;
    display: block;
    color: #08f;
    cursor: pointer;
    font-weight: 500;
}

.apply-button:hover {
    background-color: #000;
    color: #fff;
}

.apply-text {
    font-size: 16px;
    text-align: left;
}

.lp-slider-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 16px;
}

.lp-item {
    background-color: #fff;
    box-shadow: 0 2px 8px rgb(11 11 11 / 11%);
    border-radius: 5px;
    position: relative;
}

.lp-images {
    position: relative;
    display: block;
}

.lp-images::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.lp-images img {
    width: 90%;
    height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    object-position: center;
}

.lp-product-info {
    padding: 10px;
}

.lp-product-name {
    padding: 0;
    margin: 0 0 10px;
}

.lp-product-name a {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #333;
    line-height: 1.3;
    min-height: 40px;
}

.more-item-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 18px;
    color: #777;
    cursor: pointer;
    user-select: none;
    transition: color 250ms ease-in-out, border-color 250ms ease-in-out, background-color 250ms ease-in-out;
}

.more-item-button:hover {
    color: #34b0dd;
    background-color: #f1f1f1;
}

.more-item-button span {
    margin-right: 4px;
}

.percent-off {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fe0000;
    color: #fff;
    padding: 4px;
    border-radius: 3px;
    letter-spacing: 1px;
}

.lp-price-box .special-price {
    margin-right: 4px;
    font-size: calc(16px + (19 - 16) * ((100vw - 300px) / (1920 - 300)));
    color: #f00;
    line-height: 1em;
}

.lp-price-box .old-price {
    margin-left: 0;
    font-size: 13px;
    color: #555;
    text-decoration: line-through;
}

.landing-page-button {
    padding: 0 10px 10px;
}

.flashsale-button {
    border: none;
    background-color: transparent !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 2px solid #34b0dd;
    width: 100%;
    text-transform: uppercase;
    color: #111;
    border-radius: 3px;
    padding: 6px 10px;
    text-align: center;
}

.flashsale-button:hover {
    color: #34b0dd;
}

.flashsale-button-icon {
    position: relative;
    margin-right: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

.flashsale-button .icon-check {
    display: none;
}

.ldp-loading {
    width: 26px;
    height: 26px;
    border-radius: 44px;
    border: 2px solid #ccc;
    border-bottom-color: #f1f1f1;
    animation: loadingRing 600ms linear infinite;
    position: absolute;
    top: 4px;
    left: 3px;
    opacity: 0;
    pointer-events: none;
}
@keyframes loadingRing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.flashsale-button.active svg {
    opacity: 0;
}

.flashsale-button.active .ldp-loading {
    opacity: 1
}

.flashsale-button.highlight .ldp-loading {
    opacity: 0;
}

.flashsale-button.highlight .icon-check {
    display: block;
}
.flashsale-button.highlight .icon-cart {
    display: none;
}

@media (max-width: 1180px) {
    #customize-ldp .lp-content {
        padding-bottom: 1px;
        margin: 24px auto 0;
    }

    .lp-item-banner {
        margin-bottom: 8px;
    }
}

@media (min-width: 760px) and (max-width: 1180px) {
    #main-header {
        position: relative !important;
    }
    .div-dummy {
        display: none;
    }

    #customize-ldp {
        padding: 0 12px;
    }
    #customize-ldp p img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
}

@media (min-width: 760px) and (max-width: 900px) {
    .lp-slider-list {
        grid-template-columns: repeat(3, 1fr)
    }

    .more-item-button {
        grid-column-start: span 3;
        min-height: 70px;
    }
}

@media (max-width: 760px) {

    #customize-ldp p img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }
    .code-apply-item {
		padding: 10px;
	}

	.code-apply-content {
		margin-left: 10px;
		padding-left: 10px;
	}

    .svg-txt {
        font-size: 12px;
    }

    .list-code-apply {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 12px;
        grid-gap: 10px;
    }

    .code-apply-footer {
        margin: 6px 0 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .lp-slider-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
        padding: 0 12px;
    }

    .flashsale-button-icon {
        width: 26px;
        height: 26px;
    }

    .ldp-loading {
        width: 22px;
        height: 22px;
        top: 3px;
    }

    .flashsale-button {
        font-size: 14px;
        padding: 4px;
    }
    .flashsale-button.load-popup::after {
        display: none
    }

    .lp-item-banner {
        margin-bottom: 0;
    }

    .lp-item-banner span {
        font-size: 23px;
        padding: 0 12px;
    }
}
