/* LOEWE Family Sale 4.0 design baseline, followed by 4.3 compatibility rules. */
@import url("loewe-legacy.css");

/* EC-CUBE 4.3 migration: small additions layered on the LOEWE theme. */
.customize-login-expire {
    align-self: center;
    margin-right: 16px;
    color: #525263;
    font-size: 12px;
    white-space: nowrap;
}

.customize-price-label {
    display: block;
    margin-bottom: 2px;
    color: #b22424;
    font-size: 12px;
    font-weight: 700;
}

.customize-sales-limit {
    margin: 16px 0;
    padding: 12px 16px;
    border-left: 4px solid #b22424;
    background: #fff5f5;
    color: #7d1717;
}

.customize-product-specs {
    margin-top: 24px;
    border-top: 1px solid #dedede;
}

.customize-product-specs__row {
    display: grid;
    grid-template-columns: minmax(110px, 30%) 1fr;
    border-bottom: 1px solid #dedede;
}

.customize-product-specs dt,
.customize-product-specs dd {
    margin: 0;
    padding: 10px 12px;
}

.customize-product-specs dt {
    background: #f7f7f7;
    font-weight: 700;
}

.customize-cart-price-before {
    color: #777;
    font-size: 12px;
}

.customize-cart-price-applied {
    color: #b22424;
    font-weight: 700;
}

@media only screen and (max-width: 767px) {
    .customize-login-expire {
        width: 100%;
        margin: 0 0 6px;
        text-align: right;
    }

    .customize-product-specs__row {
        grid-template-columns: 1fr;
    }
}

/* EC-CUBE 4.3 compatibility for the migrated storefront shell. */
.loewe-header-logo .ec-headerTitle__title h1 {
    width: 100%;
}

.loewe-header-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.loewe-login-page .ec-layoutRole__header,
.loewe-login-page .ec-layoutRole__footer {
    display: none;
}

.loewe-login-page .ec-layoutRole__contents {
    display: block;
    max-width: none !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
}

.loewe-login-page .loewe-login-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    padding: 0;
    background: #111;
}

.loewe-login-page .loewe-login-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
}

.loewe-login-page .login_box {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: flex;
    width: 510px;
    max-width: 100%;
    height: 100%;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 40px;
    overflow-y: auto;
    background: #fff;
    box-sizing: border-box;
}

.loewe-login-page .login_box_inner {
    width: 100%;
    padding: 40px 0;
    font-size: 14px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.loewe-login-page .login_box .logo {
    width: 74%;
    margin: 0 auto 50px;
}

.loewe-login-page .login_box .logo img {
    display: block;
    width: 100%;
    height: auto;
}

.loewe-login-page .login_box h1 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
}

.loewe-login-page .login_box_inner_wrap {
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}

.loewe-login-page .login_box a {
    color: #212121;
}

.loewe-login-page .ec-login,
.loewe-login-page .ec-login__input,
.loewe-login-page .ec-login__actions {
    padding: 0;
}

.loewe-login-page .ec-login {
    margin: 0;
}

.loewe-login-page .ec-login__input {
    margin-bottom: 20px;
}

.loewe-login-page .ec-login__icon {
    display: none;
}

.loewe-login-page .ec-input input {
    height: 40px;
    margin-bottom: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 0;
    background: #ededed !important;
}

.loewe-login-page .ec-blockBtn--action {
    height: 35px;
    padding: 0;
    border: 1px solid #111;
    border-radius: 0;
    background: #111;
    color: #fff;
    font-size: 13px;
    line-height: 35px;
    letter-spacing: .08em;
}

.loewe-login-page .ec-blockBtn--action:hover {
    background: #333;
}

.loewe-modal[hidden] {
    display: none;
}

.loewe-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.loewe-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
}

.loewe-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    padding: 36px;
    background: #fff;
    text-align: center;
}

.loewe-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.loewe-modal__cancel,
.loewe-modal__confirm {
    min-height: 44px;
    border: 1px solid #111;
    border-radius: 0;
    background: #fff;
    color: #111;
    cursor: pointer;
}

.loewe-modal__confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    text-decoration: none;
}

.ec-headerNav .logout_btn {
    border: 0;
    background: transparent;
    padding: 0;
    white-space: nowrap;
}

.front_page .ec-eyecatchRole,
.front_page .ec-topicRole,
.front_page .ec-newItemRole {
    display: none;
}

.front_page .loewe-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.front_page .loewe-hero {
    margin: 0 auto 50px;
}

.front_page .loewe-category-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #e8e8e8;
}

.front_page .loewe-category-list li {
    background: #fff;
}

.front_page .loewe-category-list a {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    padding: 14px;
    color: #212121;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.front_page .loewe-category-list a:hover {
    background: #f8f8f8;
}

@media only screen and (max-width: 767px) {
    .ec-headerNaviRole .ec-headerNaviRole__left {
        position: relative;
        z-index: 3;
    }

    .ec-headerNavSP {
        display: block !important;
        z-index: 4;
        color: #111;
    }

    .ec-headerNaviRole .ec-headerNaviRole__right {
        position: static;
    }

    .ec-headerNaviRole .ec-headerNaviRole__nav {
        position: absolute;
        top: 3px;
        right: 52px;
        width: auto;
    }

    .ec-headerNav .ec-headerNav__login {
        top: 24px;
        right: 0;
        font-size: 8px;
    }

    .ec-headerNav .logout_btn {
        padding: 0;
        font-size: 10px;
    }

    .loewe-login-page .loewe-login-wrapper {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }

    .loewe-login-page .login_box_inner {
        padding: 30px 0;
        font-size: 12px;
    }

    .loewe-login-page .login_box {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 85%;
        max-width: 85%;
        height: 100%;
        margin: auto;
        padding: 0 20px;
    }

    .loewe-login-page .login_box .logo {
        width: 50%;
        margin: 0 auto 30px;
    }

    .loewe-login-page .login_box h1 {
        font-size: 14px;
    }

    .loewe-login-page .login_box_inner_wrap {
        width: 100%;
    }

    .loewe-login-page .login_box form {
        width: 100%;
    }

    .loewe-login-page .ec-blockBtn--action {
        height: 40px;
        line-height: 40px;
    }

    .front_page .loewe-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
#business_card_preview_box{position:relative;max-width:500px;padding:20px 20px 20px 0}#business_card_preview_box #business_card_preview{display:block;width:100%;max-width:480px;height:auto}#business_card_preview_box #business_card_clear{position:absolute;top:10px;right:10px;width:30px;height:30px;margin:0;padding:0;background:#aaa;border:0;border-radius:50%;cursor:pointer;font-size:0;line-height:0}#business_card_preview_box #business_card_clear::before,#business_card_preview_box #business_card_clear::after{content:"";display:block;position:absolute;top:14px;right:7px;width:16px;height:2px;background:#fff}#business_card_preview_box #business_card_clear::before{transform:rotate(45deg)}#business_card_preview_box #business_card_clear::after{transform:rotate(-45deg)}#business_card_preview_box #business_card_clear:focus-visible{outline:2px solid #212121;outline-offset:2px}
.pre-registration-confirm-footer{margin-top:50px}

/* Restore the EC-CUBE 4.0 LOEWE error-page presentation. */
#ec-404 {
    margin: 0;
    text-align: center;
}

#ec-404 h1 {
    max-width: 100px;
    margin: 0 auto 20px;
}

#ec-404 h1 img {
    width: 100%;
}

#ec-404 .img {
    max-width: 1560px;
}

#ec-404 .img img {
    width: 100%;
}

#ec-404 .ec-layoutRole__contents {
    margin: 0 auto;
    padding: 30px 0;
}

#ec-404 .ec-layoutRole__contents dl {
    margin: 30px 0;
}

#ec-404 .ec-layoutRole__contents dl dt {
    margin: 0 0 15px;
    font-size: 22px;
}

#ec-404 .ec-layoutRole__contents dl dd {
    margin: 0;
    font-size: 14px;
}

#ec-404 .ec-layoutRole__contents .ec-blockBtn--action {
    display: inline-block;
    width: 250px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    #ec-404 .img {
        margin: 0 auto;
    }

    #ec-404 .ec-layoutRole__contents dl {
        margin: 30px 15px;
    }

    #ec-404 .ec-layoutRole__contents dl dt {
        font-size: 17px;
    }

    #ec-404 .ec-layoutRole__contents dl dd {
        font-size: 13px;
    }

    #ec-404 .ec-layoutRole__contents .ec-blockBtn--action {
        height: 40px;
        line-height: 40px;
    }
}

/* Password reminder: retain the legacy logo/body/copyright-only shell. */
#page_reminder .ec-layoutRole,
#page_reminder_mail_complete .ec-layoutRole,
#page_reminder_reset .ec-layoutRole,
#page_reminder_complete .ec-layoutRole {
    min-height: 0;
}

/* Legal pages: match the compact EC-CUBE 4.0 LOEWE page shell. */
#page_help_agreement .ec-layoutRole,
#page_help_privacy .ec-layoutRole,
#page_help_tradelaw .ec-layoutRole {
    min-height: 0;
}

#page_reminder .ec-footerNavi,
#page_reminder_mail_complete .ec-footerNavi,
#page_reminder_reset .ec-footerNavi,
#page_reminder_complete .ec-footerNavi {
    display: none;
}
