@charset "utf-8";

.pakayu-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e6e0d8 !important;
    box-shadow: 0 8px 28px rgba(45, 33, 22, 0.08) !important;
    min-height: 72px !important;
    overflow: visible !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.pakayu-header:after {
    clear: both;
    content: "";
    display: table;
}

.pakayu-header .browser {
    align-items: center !important;
    display: flex !important;
    gap: 6px;
    margin: 0 auto;
    max-width: 1180px;
    min-height: 72px;
    padding: 0 22px;
}

.pakayu-header #nameTag2 {
    color: #2e241c !important;
    float: none !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    margin-right: 28px;
    padding: 0 !important;
    white-space: nowrap;
}

.pakayu-header #optionMenu-left,
.pakayu-header #optionMenu-right {
    color: #2e241c !important;
    float: none !important;
    padding: 0 !important;
    text-align: center !important;
}

.pakayu-header #optionMenu-right {
    margin-left: auto;
}

.pakayu-header .browser #optionMenu-right ~ #optionMenu-right {
    margin-left: 0;
}

.pakayu-header a {
    align-items: center;
    border-radius: 8px;
    color: #3f342c !important;
    display: flex !important;
    float: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    min-height: 42px;
    padding: 0 14px !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pakayu-header a:hover {
    background: #f4eee7 !important;
    color: #8a4b20 !important;
    transform: translateY(-1px);
}

.pakayu-header #optionMenu-right a {
    background: #3b2a1f !important;
    color: #ffffff !important;
    padding: 0 18px !important;
}

.pakayu-header #optionMenu-right a:hover {
    background: #8a4b20 !important;
    color: #ffffff !important;
}

.pakayu-header #optionMenu-right.pakayu-custom-gift-action a {
    background: #2f6f46 !important;
    color: #ffffff !important;
    white-space: nowrap;
}

.pakayu-header #optionMenu-right.pakayu-custom-gift-action a:hover {
    background: #245c39 !important;
    color: #ffffff !important;
}

.pakayu-header-category-button {
    align-items: center;
    border: 1px solid #d8cabe;
    border-radius: 8px;
    background: #ffffff;
    color: #3f342c;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    height: 42px;
    line-height: 1;
    padding: 0 14px;
}

.pakayu-header-category-button:hover {
    background: #f4eee7;
    color: #8a4b20;
}

.pakayu-header-category-button .category-drawer-toggle-lines span {
    background: #3f342c;
}

body.detail-product-page .pakayu-header .category-drawer-trigger,
body.detail-product-page .pakayu-header .pakayu-header-category-button {
    display: none !important;
}

.pakayu-header .mobile {
    display: none !important;
}

.pakayu-header #nameTag {
    color: #2e241c !important;
    cursor: pointer;
    display: block;
    float: none !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    padding: 18px 22px !important;
    position: relative;
    text-align: left !important;
}

.pakayu-header #nameTag:after {
    align-items: center;
    background: #3b2a1f;
    border-radius: 8px;
    box-sizing: border-box;
    color: #ffffff;
    content: "Menu";
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-height: 34px;
    padding: 8px 12px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.pakayu-header .displayMenu {
    background: #ffffff;
    border-top: 1px solid #eee5dc;
    box-shadow: 0 16px 26px rgba(45, 33, 22, 0.12);
    padding: 8px 14px 16px;
    width: 100%;
}

.pakayu-header .displayMenu #optionMenu-left,
.pakayu-header .displayMenu #optionMenu-right {
    display: block;
    margin: 0;
    padding: 0 !important;
}

.pakayu-header .displayMenu a {
    border-bottom: 1px solid #f0e8df;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 10px !important;
    width: 100%;
}

.pakayu-header .displayMenu #optionMenu-right a {
    justify-content: center;
    margin-top: 12px;
}

#footer {
    background: #2e241c !important;
    clear: both;
    color: #ffffff;
    height: auto !important;
    margin: 40px auto 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
}

#footer .footer-inner {
    display: grid;
    gap: 28px;
    grid-template-columns: 1.2fr 1fr 1fr;
    margin: 0 auto;
    max-width: 1180px;
    padding: 34px 22px;
}

#footer .footer-brand {
    max-width: 360px;
}

#footer .footer-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}

#footer .footer-text {
    color: #d8cabe;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

#footer .footer-heading {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 10px;
}

#footer .footer-link,
#footer .footer-contact {
    color: #d8cabe;
    display: block;
    font-size: 14px;
    margin: 8px 0;
    text-decoration: none;
}

#footer .footer-link:hover {
    color: #ffffff;
}

#footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #bba99b;
    font-size: 13px;
    margin: 0 auto;
    max-width: 1180px;
    padding: 14px 22px 22px;
}

.category-drawer-toggle {
    position: fixed;
    left: 18px;
    top: 50%;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #166534;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.24);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transform: translateY(-50%);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.category-drawer-toggle-lines {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
}

.category-drawer-toggle-lines span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 999px;
    background: #ffffff;
}

.category-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.category-drawer {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1210;
    display: flex;
    flex-direction: column;
    width: min(330px, 88vw);
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    box-shadow: 18px 0 42px rgba(15, 23, 42, 0.18);
    transform: translateX(-105%);
    transition: transform 0.26s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.category-drawer.is-open {
    transform: translateX(0);
}

body.category-drawer-open {
    overflow-x: hidden;
}

body.category-drawer-open .category-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.category-drawer-open .category-drawer-toggle {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.category-drawer-header {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 18px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.category-drawer-kicker {
    color: #16a34a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.category-drawer-header h2 {
    margin: 4px 0 0;
    color: #111827;
    font-size: 20px;
    line-height: 1.2;
}

.category-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #f9fafb;
    color: #111827;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.category-drawer-list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 94px);
    min-height: 0;
    overflow-y: auto;
    padding: 14px;
    overscroll-behavior: contain;
}

.category-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #1f2937;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.category-drawer-link:hover,
.category-drawer-link.is-active {
    background: #ecfdf5;
    border-color: #86efac;
    color: #14532d;
    transform: translateX(2px);
}

.category-drawer-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-drawer-link strong {
    flex: 0 0 auto;
    min-width: 28px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    text-align: center;
}

.category-drawer-link.is-active strong,
.category-drawer-link:hover strong {
    background: #16a34a;
    color: #ffffff;
}

.category-drawer-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-drawer-group.has-active-child > .category-drawer-link {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.category-drawer-sublist {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 3px 17px;
    padding-left: 10px;
    border-left: 2px solid #dcfce7;
}

.category-drawer-subgroup {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-drawer-subgroup.has-active-child .category-drawer-sublink {
    background: #ecfdf5;
    color: #14532d;
}

.category-drawer-subrow {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 6px;
}

.category-drawer-subrow.has-subchildren {
    grid-template-columns: minmax(0, 1fr) 34px;
}

.category-drawer-sublink {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 6px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}

.category-drawer-subtoggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #166534;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.category-drawer-subtoggle:hover {
    border-color: #86efac;
    background: #f0fdf4;
}

.category-drawer-subtoggle span {
    display: block;
    transform: rotate(-90deg);
    transition: transform 0.18s ease;
}

.category-drawer-subgroup.is-open .category-drawer-subtoggle span {
    transform: rotate(0deg);
}

.category-drawer-sublink:hover,
.category-drawer-sublink.is-active {
    background: #ecfdf5;
    color: #14532d;
}

.category-drawer-sublink span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-drawer-sublink strong {
    min-width: 24px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 11px;
    text-align: center;
}

.category-drawer-sublink:hover strong,
.category-drawer-sublink.is-active strong {
    background: #16a34a;
    color: #ffffff;
}

.category-drawer-subsublist {
    display: none;
    flex-direction: column;
    gap: 3px;
    margin: 0 0 4px 16px;
    padding-left: 9px;
    border-left: 2px solid #e5e7eb;
}

.category-drawer-subgroup.is-open .category-drawer-subsublist {
    display: flex;
}

.category-drawer-subsub-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 9px;
    border-radius: 6px;
    color: #5b6470;
    font-size: 12px;
    line-height: 1.3;
    text-decoration: none;
}

.category-drawer-subsub-link:hover,
.category-drawer-subsub-link.is-active {
    background: #f0fdf4;
    color: #166534;
}

.category-drawer-subsub-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-drawer-subsub-link strong {
    min-width: 22px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 10px;
    text-align: center;
}

.category-drawer-subsub-link:hover strong,
.category-drawer-subsub-link.is-active strong {
    background: #16a34a;
    color: #ffffff;
}

@media screen and (max-width: 800px) {
    .pakayu-header {
        min-height: 64px !important;
    }

    .pakayu-header .browser {
        display: none !important;
    }

    .pakayu-header .mobile {
        display: block !important;
        position: relative;
        width: 100%;
    }

    .pakayu-header #nameTag {
        padding-left: 16px !important;
        padding-right: 86px !important;
        width: 100%;
    }

    .topnav.pakayu-header .mobile .pakayu-mobile-brand {
        align-items: center !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e6e0d8 !important;
        color: #2e241c !important;
        display: flex !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        justify-content: flex-start !important;
        line-height: 1.2 !important;
        min-height: 64px !important;
        overflow: visible !important;
        padding: 0 92px 0 16px !important;
        position: relative !important;
        text-align: left !important;
        text-indent: 0 !important;
        white-space: nowrap !important;
        width: 100% !important;
        z-index: 2 !important;
    }

    .topnav.pakayu-header .mobile .pakayu-mobile-brand span {
        color: #2e241c !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .pakayu-header #nameTag:after {
        min-height: 34px;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    .pakayu-header .displayMenu {
        max-width: 100vw;
        padding-left: 12px;
        padding-right: 12px;
    }

    #footer .footer-inner {
        grid-template-columns: 1fr;
        padding: 28px 20px 20px;
        width: 100%;
    }

    .category-drawer-toggle {
        left: auto;
        right: 12px;
        top: auto;
        bottom: max(14px, env(safe-area-inset-bottom));
        min-height: 50px;
        padding: 0 16px;
        max-width: calc(100vw - 24px);
        transform: none;
    }

    .category-drawer {
        left: 8px;
        right: 8px;
        top: auto;
        bottom: calc(76px + env(safe-area-inset-bottom));
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        max-height: calc(100vh - 108px);
        max-height: calc(100dvh - 108px);
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
        transform: translateY(calc(100% + 110px));
    }

    .category-drawer.is-open {
        transform: translateY(0);
    }

    .category-drawer-header {
        align-items: center;
        padding: 16px 16px 12px;
    }

    .category-drawer-header h2 {
        font-size: 18px;
        line-height: 1.25;
    }

    .category-drawer-list {
        box-sizing: border-box;
        max-height: none;
        min-height: 0;
        padding: 12px 12px 18px;
        width: 100%;
    }

    .category-drawer-link {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        line-height: 1.3;
        min-height: 52px;
        padding: 14px 12px;
        max-width: 100%;
        overflow: visible;
    }

    .category-drawer-link:hover,
    .category-drawer-link.is-active {
        transform: none;
    }

    .category-drawer-link span {
        display: block;
        line-height: 1.28;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-overflow: clip;
        white-space: normal;
    }

    .category-drawer-link strong {
        align-self: start;
        justify-self: end;
        min-width: 30px;
        min-height: 22px;
        padding: 4px 8px;
        font-size: 11px;
        line-height: 1.2;
        overflow: visible;
        white-space: nowrap;
    }

    .category-drawer-sublist {
        margin-left: 12px;
        padding-left: 8px;
    }

    .category-drawer-sublink {
        min-height: 42px;
        padding: 9px 10px;
    }

    .category-drawer-subrow.has-subchildren {
        grid-template-columns: minmax(0, 1fr) 38px;
        gap: 6px;
    }

    .category-drawer-subtoggle {
        width: 38px;
        min-width: 38px;
        height: 38px;
    }

    .category-drawer-sublink span {
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }

    .category-drawer-subsublist {
        margin-left: 10px;
        padding-left: 8px;
    }

    .category-drawer-subsub-link {
        min-height: 38px;
        padding: 8px 9px;
    }

    .category-drawer-subsub-link span {
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }
}
