/* カスタマイズ用CSS */
.ec-itemNav__nav>li>a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ec-categoryArrow {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg);
    margin-top: -3px;
}

.main_visual.slick-initialized.slick-slider {
    margin: 0 auto;
}

.main_visual {
    position: relative;
}

.main_visual .slick-slide {
    padding: 0 7px;
    box-sizing: border-box;
}

.main_visual .main-visual-arrow {
    position: absolute;
    top: 50%;
    z-index: 30;

    width: 46px;
    height: 92px;

    border: none;
    background: #F2788F;

    transform: translateY(-50%);
    cursor: pointer;

    font-size: 0;
}

.main_visual .main-visual-arrow--prev {
    left: 388px;
    border-radius: 5px 0px 0px 5px;
}

.main_visual .main-visual-arrow--next {
    right: 388px;
    border-radius: 0px 5px 5px 0px;
}


@media screen and (max-width: 1600px) {

    .main_visual .main-visual-arrow--prev {
        left: 286px;
    }

    .main_visual .main-visual-arrow--next {
        right: 286px;
    }

}


@media screen and (max-width: 1400px) {

    .main_visual .main-visual-arrow--prev {
        left: 206px;
    }

    .main_visual .main-visual-arrow--next {
        right: 206px;
    }

}



@media screen and (max-width: 1200px) {

    .main_visual .main-visual-arrow--prev {
        left: 146px;
    }

    .main_visual .main-visual-arrow--next {
        right: 146px;
    }

}

@media screen and (max-width: 992px) {

    .main_visual .main-visual-arrow--prev {
        left: 86px;
    }

    .main_visual .main-visual-arrow--next {
        right: 86px;
    }

}

@media screen and (max-width: 768px) {

    .main_visual .main-visual-arrow--prev,
    .main_visual .main-visual-arrow--next {
        width: 44px;
        height: 44px;
    }

    .main_visual .main-visual-arrow--prev {
        left: 10px;
    }

    .main_visual .main-visual-arrow--next {
        right: 10px;
    }

}


@media screen and (max-width: 480px) {

    .main_visual .main-visual-arrow--prev,
    .main_visual .main-visual-arrow--next {
        display: none;
    }

    .main_visual .slick-slide {
        padding: 0 2px;
    }
}

.main_visual .main-visual-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
}

.main_visual .main-visual-arrow--prev::before {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 9px solid #fff;
}

.main_visual .main-visual-arrow--next::before {
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 9px solid #fff;
}


/* TOP特集コンテンツ */
.top-feature {
    padding: 20px 0;
    background: #fff;
    max-width: 1080px;
    margin: 0 auto;
}

.top-feature__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid #FFA6A6;
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.top-feature__sub {
    margin: 0 0 4px;
    color: #FFA6A6;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.top-feature__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #454545;
}

.top-feature__more-link {
    font-size: 13px;
    color: #454545;
    text-decoration: none;
}

.top-feature__more-link::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #FFA6A6;
    border-right: 1.5px solid #FFA6A6;
    transform: rotate(45deg);
    margin-right: 8px;
    position: relative;
    top: -1px;
}

.top-feature__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.top-feature__card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.top-feature__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7f7f7;
    margin-bottom: 12px;
}

.top-feature__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-feature__name {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: #454545;
}

.top-feature__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: #555;
}

@media (max-width: 1220px) {
    .top-feature__inner {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {

    .top-feature {
        padding: 40px 0;
    }

    .top-feature__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 14px;
    }

    .top-feature__title {
        font-size: 21px;
    }

    .top-feature__text {
        font-size: 12px;
    }
}



/* TOPカテゴリ一覧 */
.top-category {
    padding: 64px 0 56px;
    border-bottom: 15px solid #FFEFF1;
}

.top-category__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-category__heading {
    text-align: center;
    margin-bottom: 36px;
}

.top-category__sub {
    margin: 0 0 8px;
    color: #ee7b8d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.top-category__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #454545;
}

.top-category__title::before,
.top-category__title::after {
    content: "";
    width: 40px;
    height: 1px;
    background: #efb6bd;
}

.top-category__list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 34px 28px;
}

.top-category__item {
    display: block;
    text-align: center;
    color: inherit;
    text-decoration: none;
}

.top-category__circle {
    width: 88px;
    height: 88px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-category__circle img {
    width: 68px;
    object-fit: contain;
    display: block;
}

.top-category__dummy {
    width: 44px;
    height: 30px;
    background: #f4c5d0;
    display: block;
}

.top-category__name {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: #454545;
}

.top-category__allLink {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin: 28px 0 0 auto;
    padding: 0 2px 8px;
    border-bottom: 1px solid #ee7b8d;
    color: #454545;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-category__allLink::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #ee7b8d;
    border-right: 1.5px solid #ee7b8d;
    transform: rotate(45deg);
}

.top-category__allLink:hover,
.top-category__allLink:focus {
    color: #d75f73;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .top-category__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .top-category {
        padding: 44px 0;
    }

    .top-category__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 14px;
    }

    .top-category__circle {
        width: 72px;
        height: 72px;
    }

    .top-category__name {
        font-size: 12px;
    }

    .top-category__allLink {
        margin-top: 22px;
    }
}



/* サイドバーカテゴリ */
.side-category__title {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #FFA6A6;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #454545;
}

.side-category__list,
.side-category__child {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-category__item {
    margin: 0;
    padding: 0;
    border-bottom: 1px dotted #ddd;
    list-style: none;
}

.side-category__row {
    display: flex;
    align-items: center;
    width: 100%;
}

.side-category__link {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #454545;
    text-decoration: none;
}

.side-category__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-category__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.side-category__name {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: #454545;
    word-break: break-word;
}

.side-category__toggle {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.side-category__toggle::before,
.side-category__toggle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #ee7b8d;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.side-category__toggle::before {
    width: 12px;
    height: 1px;
}

.side-category__toggle::after {
    width: 1px;
    height: 12px;
}

.side-category__item.is-open>.side-category__row .side-category__toggle::after {
    opacity: 0;
}

.side-category__child {
    display: none;
    padding: 0 0 10px 42px;
}

.side-category__item.is-open>.side-category__child {
    display: block;
}

.side-category__child li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.side-category__child a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

.side-category__child a:hover {
    color: #ee7b8d;
}

.side-category__item.is-active > .side-category__row .side-category__name,
.side-category__link.is-current .side-category__name,
.side-category__childLink.is-current {
    color: #f2798f;
}

.side-category__childLink.is-current {
    font-weight: 700;
    text-decoration: none;
}

.side-category__item.is-active > .side-category__row .side-category__toggle::before,
.side-category__item.is-active > .side-category__row .side-category__toggle::after {
    background: #f2798f;
}


@media (max-width: 768px) {
    .side-category__title {
        font-size: 17px;
    }

    .side-category__link {
        padding: 10px 0;
    }

    .side-category__icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
}



/* TOPカテゴリ別ランキング */
.top-category-ranking__section {
    margin-bottom: 48px;
}

.top-category-ranking__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffa6a6;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.top-category-ranking__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #454545;
}

.top-category-ranking__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #454545;
    text-decoration: none;
}

.top-category-ranking__more::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1px solid #ffa6a6;
    border-right: 1px solid #ffa6a6;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.top-category-ranking__slider {
    position: relative;
    overflow: hidden;
}

.top-category-ranking__item {
    position: relative;
}

.top-category-ranking__link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.top-category-ranking__rank {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 22px;
    background: #999999;
}

/* 1位 */
.top-category-ranking__rank--1 {
    background: #E3C57C;
}

/* 2位 */
.top-category-ranking__rank--2 {
    background: #CECDCD;
}

/* 3位 */
.top-category-ranking__rank--3 {
    background: #B29A89;
}

.top-category-ranking__image {
    aspect-ratio: 1 / 1;
    background: #f8f8f8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.top-category-ranking__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.top-category-ranking__name {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: #454545;
}

.top-category-ranking__text {
    margin: 0 0 6px;
    font-size: 11px;
    line-height: 1.6;
    color: #666;
}

.top-category-ranking__price {
    margin: 0;
    font-size: 12px;
    color: #454545;
}

/* slick */
.top-category-ranking .slick-list {
    overflow: hidden;
}

.top-category-ranking .slick-track {
    display: flex;
}

.top-category-ranking .slick-slide {
    height: auto;
    margin: 0 7px;
}

.top-category-ranking .slick-slide>div {
    height: 100%;
}

.top-category-ranking__arrow {
    display: block !important;
    position: absolute;
    top: 38%;
    z-index: 30;
    width: 28px;
    height: 56px;
    border: 0;
    background: #ee7b8d;
    cursor: pointer;
    font-size: 0;
}

button.top-category-ranking__arrow.top-category-ranking__arrow--next.slick-arrow {
    border-radius: 0px 5px 5px 0px;
}

button.top-category-ranking__arrow.top-category-ranking__arrow--prev.slick-arrow {
    border-radius: 5px 0px 0px 5px;
}

.top-category-ranking__arrow--next {
    right: 0;
}

.top-category-ranking__arrow--prev {
    left: 0;
}

.top-category-ranking__arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.top-category-ranking__arrow--next::before {
    transform: translate(-60%, -50%) rotate(45deg);
}

.top-category-ranking__arrow--prev::before {
    transform: translate(-40%, -50%) rotate(-135deg);
}

.top-category-ranking__arrow.slick-disabled {
    display: none !important;
}

/* SP */
@media (max-width: 768px) {
    .top-category-ranking__slider {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 48px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .top-category-ranking__slider::-webkit-scrollbar {
        display: none;
    }

    .top-category-ranking__item {
        flex: 0 0 calc((100% - 24px) / 3.35);
        scroll-snap-align: start;
    }

    .top-category-ranking__arrow {
        display: none !important;
    }
}



/* TOPおしらせ */
.top-news-list {
    margin: 60px auto;
    max-width: 1120px;
    padding: 0 20px;
}

.top-news-list__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid #ffa6a6;
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.top-news-list__sub {
    margin: 0 0 4px;
    color: #ffa6a6;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.top-news-list__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #454545;
}

.top-news-list__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #454545;
    text-decoration: none;
}

.top-news-list__more::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1px solid #ffa6a6;
    border-right: 1px solid #ffa6a6;
    transform: rotate(45deg);
}

.top-news-list__item {
    padding: 14px 0;
    border-bottom: 1px dashed #cfcfcf;
}

.top-news-list__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.top-news-list__date {
    color: #5f80b6;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.top-news-list__label {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #ffa6a6;
    border-radius: 4px;
    color: #ffa6a6;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

.top-news-list__body {
    font-size: 14px;
    line-height: 1.7;
    color: #454545;
}

.top-news-list__itemTitle {
    font-size: 15px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.top-news-list__body a {
    color: inherit;
    text-decoration: none;
}

.top-news-list__item {
    position: relative;
    display: block;
    padding: 14px 0;
    border-bottom: 1px dashed #cfcfcf;
    text-decoration: none;
    color: inherit;
    transition: opacity .3s;
}

.top-news-list__item::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #EE7B8D;
    border-right: 1px solid #EE7B8D;
    transform: translateY(-50%) rotate(45deg);
    transition: right .3s;
}

.top-news-list__item:hover {
    opacity: .7;
}

.top-news-list__item:hover::after {
    right: 4px;
}

@media (max-width: 768px) {
    .top-news-list {
        margin: 40px auto;
    }

    .top-news-list__title {
        font-size: 21px;
    }

    .top-news-list__item {
        padding: 12px 0;
    }

    .top-news-list__meta {
        flex-wrap: wrap;
    }

    .top-news-list__body {
        font-size: 13px;
    }
}



/* =========================
NEWS PAGE
========================= */

.news-page {
    padding: 0 0 60px;
}

.news-page__inner {
    width: min(100%, 1000px);
    margin: 0 auto;
    padding: 0 20px;
}

.news-page__heading {
    margin-bottom: 15px;
    padding-bottom: 16px;
    border-bottom: 1px solid #FFA6A6;
}

.news-page__sub {
    margin: 0 0 6px;
    color: #FFA6A6;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.news-page__title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #454545;
    line-height: 1.4;
}

.news-page__list {
    display: flex;
    flex-direction: column;
}

.news-page__item {
    position: relative;
    display: block;
    padding: 20px 0 12px;
    border-bottom: 1px dashed #D8D8D8;
    text-decoration: none;
    color: inherit;
    transition: opacity .3s;
}

.news-page__item::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #EE7B8D;
    border-right: 1px solid #EE7B8D;
    transform: translateY(-50%) rotate(45deg);
    transition: right .3s;
}

.news-page__item:hover {
    opacity: .7;
}

.news-page__item:hover::after {
    right: 4px;
}

.news-page__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.news-page__date {
    color: #5F80B6;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.news-page__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border: 1px solid #FFA6A6;
    border-radius: 4px;
    color: #FFA6A6;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.news-page__itemTitle {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: #454545;
}

@media (max-width: 768px) {
    .news-page__inner {
        width: min(100%, 1000px);
        margin: 0 auto;
        padding: 0;
    }

    .news-page__title {
        margin: 0;
        font-size: 22px;
        font-weight: 700;
        color: #454545;
        line-height: 1.4;
    }

    .news-page__meta {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 8px;
    }

    .news-page__date {
        color: #5F80B6;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.05em;
        line-height: 0;
    }

    .news-page__label {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 3px 10px;
        border: 1px solid #FFA6A6;
        border-radius: 4px;
        color: #FFA6A6;
        font-size: 9px;
        font-weight: 700;
        line-height: 1;
    }

    .news-page__itemTitle {
        margin: 0;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.8;
        color: #454545;
    }
}

/* 商品一覧では販売単位まで確認できるよう、商品名を省略せず表示する */
.ec-shelfGrid .ec-shelfGrid__name {
    display: block;
    overflow: visible;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
}

/* 商品詳細：1束単位での購入相談 */
.ec-productRole__bundleInquiry {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #f0c7ce;
    border-radius: 4px;
    background: #fff8f9;
}

.ec-productRole__bundleInquiryText {
    margin: 0;
    color: #454545;
    font-size: 14px;
    line-height: 1.8;
}

.ec-productRole__bundleInquiryButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    padding: 10px 16px;
    border: 1px solid #ee7b8d;
    border-radius: 4px;
    background: #fff;
    color: #d75f73;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ec-productRole__bundleInquiryButton:hover,
.ec-productRole__bundleInquiryButton:focus {
    background: #ee7b8d;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .ec-productRole__bundleInquiry {
        padding: 16px;
    }

    .ec-productRole__bundleInquiryText {
        font-size: 13px;
    }
}

/* 福袋シール商品：福袋用の袋のお問い合わせ案内 */
.ec-luckyBagInquiry {
    max-width: 840px;
    margin: 28px auto 0;
    padding: 24px;
    border: 1px solid #e8c76c;
    border-radius: 6px;
    background: #fffaf0;
    text-align: center;
}

.ec-luckyBagInquiry__title {
    margin: 0;
    color: #7c4b22;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
}

.ec-luckyBagInquiry__text {
    margin: 10px 0 0;
    color: #4d453d;
    font-size: 14px;
    line-height: 1.8;
}

.ec-luckyBagInquiry__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px;
    min-height: 50px;
    margin-top: 17px;
    padding: 11px 24px;
    border-radius: 4px;
    background: #d75f73;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ec-luckyBagInquiry__button:hover,
.ec-luckyBagInquiry__button:focus {
    background: #bd465a;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .ec-luckyBagInquiry {
        margin-top: 22px;
        padding: 20px 16px;
    }

    .ec-luckyBagInquiry__title {
        font-size: 18px;
    }

    .ec-luckyBagInquiry__button {
        width: 100%;
        min-width: 0;
    }
}

/* 商品カテゴリ一覧 */
.category-index {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 20px 80px;
}

.category-index__hero {
    padding: 0 0 15px;
    text-align: left;
}

.category-index__eyebrow,
.category-index__parentLabel {
    margin: 0 0 7px;
    color: #ee7b8d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.category-index__title {
    margin: 0;
    color: #454545;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.45;
}

.category-index__lead {
    margin: 12px 0 0;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.category-index__sections {
    display: grid;
    gap: 34px;
}

.category-index__section {
    scroll-margin-top: 20px;
    padding: 28px;
    border: 1px solid #e9e4e5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(82, 59, 64, 0.05);
}

.category-index__sectionHeader {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee7e8;
}

.category-index__parentImage {
    display: block;
    aspect-ratio: 5 / 4;
    padding: 8px;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f3f1;
}

.category-index__parentImage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.category-index__parentImage:hover img {
    transform: scale(1.03);
}

.category-index__parentName {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
}

.category-index__parentName a {
    color: #3f3f43;
    text-decoration: none;
}

.category-index__parentName a:hover,
.category-index__parentName a:focus {
    color: #d75f73;
}

.category-index__parentDescription {
    display: -webkit-box;
    margin: 10px 0 0;
    overflow: hidden;
    color: #666;
    font-size: 13px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.category-index__parentLink,
.category-index__childMore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d75f73;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.category-index__parentLink {
    margin-top: 14px;
}

.category-index__arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.category-index__childGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 24px;
}

.category-index__childCard {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ebe6e7;
    border-radius: 6px;
    background: #fff;
}

.category-index__childMain {
    display: flex;
    min-height: 108px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.category-index__childMain:hover,
.category-index__childMain:focus {
    background: #fffafb;
    color: inherit;
    text-decoration: none;
}

.category-index__childBody {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 14px;
}

.category-index__childName {
    color: #454545;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.category-index__childDescription {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    color: #777;
    font-size: 11px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-index__childMore {
    gap: 7px;
    margin-top: auto;
    padding-top: 9px;
    font-size: 11px;
}

.category-index__descendantList {
    margin: 0;
    padding: 0 14px 12px;
    border-top: 1px solid #f1ecee;
    list-style: none;
}

.category-index__descendantList .category-index__descendantList {
    padding: 0 0 0 14px;
    border-top: 0;
}

.category-index__descendantItem {
    margin: 0;
    padding: 0;
    list-style: none;
}

.category-index__descendantLink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 2px;
    border-bottom: 1px dotted #e2d7da;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.category-index__descendantLink:hover,
.category-index__descendantLink:focus {
    color: #d75f73;
    text-decoration: none;
}

.category-index__empty {
    padding: 50px 20px;
    color: #666;
    text-align: center;
}

@media (max-width: 1024px) {
    .category-index__childGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .category-index {
        padding: 0;
    }

    .category-index__hero {
        padding: 28px 10px 26px;
    }

    .category-index__title {
        font-size: 26px;
    }

    .category-index__section {
        padding: 18px 14px;
    }

    .category-index__sectionHeader {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 15px;
        padding-bottom: 18px;
    }

    .category-index__parentName {
        font-size: 19px;
    }

    .category-index__parentDescription {
        display: none;
    }

    .category-index__parentLink {
        margin-top: 9px;
        font-size: 11px;
    }

    .category-index__childGrid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 18px;
    }

    .category-index__childMain {
        min-height: 100px;
    }
}

@media (max-width: 420px) {
    .category-index__sectionHeader {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .category-index__parentLabel {
        display: none;
    }
}

/* Center the order-complete action under the order number. */
@media only screen and (min-width: 768px) {
    .ec-cartCompleteRole .ec-off4Grid .ec-off4Grid__cell {
        margin-left: auto;
        margin-right: auto;
    }
}
