:root {
    --market-red: #ff333f;
    --market-red-dark: #e32635;
    --market-blue: #0073cc;
    --market-ink: #222;
    --market-muted: #6b6b6b;
    --market-line: #e5e5e5;
    --market-soft: #f5f5f5;
}

.numbered-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 16px; width: 100%; }
.numbered-pagination__size { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; }
.numbered-pagination__size select, .numbered-pagination__size button { min-height: 38px; padding: 5px 10px; border: 1px solid var(--market-line); border-radius: 4px; background: #fff; color: var(--market-ink); }
.numbered-pagination__size select:focus-visible, .numbered-pagination__size button:focus-visible { outline: 2px solid var(--market-blue); outline-offset: 2px; }
.numbered-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0; }
.numbered-pagination .page-link { display: grid; place-items: center; min-width: 38px; min-height: 38px; padding: 5px 9px; color: var(--market-ink); border-color: var(--market-line); }
.numbered-pagination .page-item.active .page-link { color: #fff; background: var(--market-ink); border-color: var(--market-ink); }

* { box-sizing: border-box; }

button[type="submit"]:enabled, input[type="submit"]:enabled { cursor: pointer; }
button[type="submit"]:disabled, input[type="submit"]:disabled { cursor: not-allowed; }

html { overflow-x: hidden; }

body {
    min-height: 100vh;
    margin: 0;
    color: var(--market-ink);
    background: #fff;
    font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    letter-spacing: 0;
}

a { color: inherit; }

.market-header {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.market-header__main {
    display: grid;
    grid-template-columns: 112px minmax(240px, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 72px;
}

.market-logo {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--market-red);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.market-logo span { letter-spacing: 0; }
.market-logo img { display: block; max-width: 100px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.market-logo--footer img { max-width: 130px; max-height: 60px; }

.market-search {
    position: relative;
    width: 100%;
}

.market-search input {
    width: 100%;
    height: 44px;
    padding: 0 48px 0 16px;
    border: 1px solid var(--market-line);
    border-radius: 4px;
    background: var(--market-soft);
    outline: 0;
}

.market-search input:focus {
    border-color: var(--market-blue);
    box-shadow: 0 0 0 1px var(--market-blue);
}

.market-search button {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 11px;
    place-items: center;
    border: 0;
    background: transparent;
}

.market-search svg,
.market-cart-link svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.market-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.market-actions a,
.market-actions button {
    padding: 0;
    border: 0;
    color: var(--market-ink);
    background: transparent;
    text-decoration: none;
}

.market-actions form { margin: 0; }

.market-actions .sell-button {
    padding: 10px 16px;
    border-radius: 4px;
    color: #fff;
    background: var(--market-red);
    font-weight: 700;
}

.market-actions .sell-button:hover { background: var(--market-red-dark); }

.market-cart-link { position: relative; display: inline-flex; }

.market-cart-link > span {
    position: absolute;
    top: -10px;
    right: -12px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 50%;
    color: #fff;
    background: var(--market-red);
    font-size: 11px;
    line-height: 18px;
    text-align: center;
}

.market-category-bar { background: #fff; }

.market-category-bar__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 46px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}

.market-category-bar__inner::-webkit-scrollbar { display: none; }

.market-category-bar a {
    color: #444;
    font-size: 13px;
    text-decoration: none;
}

.market-category-bar a:hover,
.market-category-all { color: var(--market-red) !important; }

.market-hero { padding: 18px 0 0; background: #fff; }
.site-banner { padding-top: 18px; }
.site-banner picture, .site-banner img { display: block; width: 100%; }
.site-banner img { height: auto; object-fit: cover; }
.company-page { padding-top: 48px; padding-bottom: 64px; max-width: 960px; }
.company-page h1 { margin-bottom: 30px; font-size: clamp(28px, 4vw, 38px); }
.company-page__details { border-top: 1px solid var(--market-line); }
.company-page__details > div { display: grid; grid-template-columns: minmax(110px, 26%) 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--market-line); }
.company-page__details dt { font-weight: 700; }
.company-page__details dd { margin: 0; overflow-wrap: anywhere; }
.container.information-page { max-width: 920px; overflow-wrap: anywhere; }
.information-page__eyebrow { color: #457c63; font-size: .75rem; font-weight: 700; letter-spacing: .16em; margin-bottom: .5rem; }
.information-page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: .8rem; }
.information-page__lead { color: #657168; line-height: 1.8; margin-bottom: 2.5rem; }
.information-page__body { border-top: 1px solid #dce3db; }
.information-page__body h2 { font-size: 1.2rem; font-weight: 700; margin: 2.2rem 0 .8rem; }
.information-page__body section { scroll-margin-top: 180px; }
.information-page__nav, .information-page__related { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 18px 0; }
.information-page__nav a, .information-page__related a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; }
.information-page__steps { padding-left: 1.6em; color: #39443d; line-height: 1.9; }
.information-page__steps li + li { margin-top: .6rem; }
.information-page__details { margin: 0; border-top: 1px solid var(--market-line); }
.information-page__details > div { display: grid; grid-template-columns: minmax(120px, 25%) minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--market-line); }
.information-page__details dt { font-weight: 700; line-height: 1.8; }
.information-page__details dd { min-width: 0; margin: 0; color: #39443d; line-height: 1.9; overflow-wrap: anywhere; }
.information-page a:focus-visible, .gift-checkout__policy a:focus-visible, .site-footer a:focus-visible { outline: 2px solid #286b4c; outline-offset: 4px; border-radius: 2px; }
.information-page a:hover, .gift-checkout__policy a:hover { text-decoration-thickness: 2px; }
.gift-checkout__policy { margin: 20px 0; color: #657168; line-height: 1.9; overflow-wrap: anywhere; }
.gift-checkout__policy a { color: #286b4c; text-underline-offset: .2em; }

.information-page__body p { color: #39443d; line-height: 1.9; margin-bottom: 1.1rem; }
.information-page__body a, .information-page__contact a { color: #286b4c; text-underline-offset: .2em; }
.information-page__body details { border-bottom: 1px solid #e1e7e1; padding: 1rem 0; }
.information-page__body details summary { cursor: pointer; font-weight: 600; }
.information-page__body details p { margin: .9rem 0 0; }
.information-page__contact { background: #f4f7f3; border-radius: 10px; margin-top: 2.5rem; padding: 1.25rem 1.5rem; line-height: 1.8; }
.information-page__contact p { margin: .5rem 0 0; }

.market-hero__inner {
    display: grid;
    grid-template-columns: minmax(280px, .95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 32px;
    min-height: 280px;
    padding-top: 24px;
    padding-bottom: 24px;
    overflow: hidden;
    background: #ffeff1;
}

.market-hero__copy { padding-left: 44px; }

.market-kicker {
    margin: 0 0 10px;
    color: var(--market-red);
    font-size: 13px;
    font-weight: 700;
}

.market-hero h1 {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
}

.market-hero p:not(.market-kicker) {
    margin: 0 0 20px;
    color: var(--market-muted);
    font-size: 16px;
}

.market-hero a {
    display: inline-block;
    padding: 11px 22px;
    border-radius: 4px;
    color: #fff;
    background: var(--market-red);
    font-weight: 700;
    text-decoration: none;
}

.market-hero__tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: center;
    padding-right: 32px;
}

.market-hero__tiles img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 6px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgb(120 20 35 / 10%);
}

.market-discover,
.market-categories,
.market-products-section { padding-top: 32px; padding-bottom: 24px; }

.market-discover { border-bottom: 1px solid var(--market-line); }

.market-discover__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.market-discover__list > a {
    min-width: 0;
    color: var(--market-ink);
    text-align: center;
    text-decoration: none;
}

.market-discover__image {
    display: grid;
    overflow: hidden;
    width: 92px;
    height: 92px;
    margin: auto auto 10px;
    place-items: center;
    border: 1px solid var(--market-line);
    border-radius: 50%;
    color: var(--market-muted);
    background: #fff;
}

.market-discover__image img { width: 100%; height: 100%; object-fit: cover; }
.market-discover__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.market-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.market-section-title h2 { margin: 0; font-size: 20px; font-weight: 700; }
.market-section-title p { margin: 5px 0 0; color: var(--market-muted); }
.market-section-title > a { color: var(--market-blue); text-decoration: none; white-space: nowrap; }

.market-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.market-category-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: var(--market-ink);
    text-align: center;
    text-decoration: none;
}

.market-category-grid span {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #3c3c3c;
    font-size: 24px;
    font-weight: 700;
}

.market-category-grid a:nth-child(2n) span { background: #497a88; }
.market-category-grid a:nth-child(3n) span { background: #9b594f; }

.market-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 12px;
}

.market-product-card { min-width: 0; }

.market-product-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    color: var(--market-muted);
    background: var(--market-soft);
    text-decoration: none;
}

.market-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.market-product-card:hover img { transform: scale(1.02); }

.market-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.market-product-card__price {
    position: absolute;
    bottom: 8px;
    left: 0;
    padding: 6px 10px 6px 8px;
    border-radius: 0 14px 14px 0;
    color: #fff;
    background: rgb(0 0 0 / 72%);
    font-size: 15px;
}

.market-product-card__sold {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.market-product-card__sold::before {
    position: absolute;
    top: -29px;
    left: -40px;
    width: 110px;
    height: 80px;
    content: "";
    background: var(--market-red);
    transform: rotate(-45deg);
}

.market-product-card__sold { padding: 10px 0 0 6px; }

.market-product-card__body { padding-top: 8px; }

.market-product-card__body h3 {
    min-height: 42px;
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.market-product-card__body h3 a { text-decoration: none; }

.market-product-card__body > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--market-muted);
    font-size: 12px;
}

.market-empty,
.empty-state {
    display: grid;
    min-height: 200px;
    place-items: center;
    border: 1px solid var(--market-line);
    color: var(--market-muted);
    background: var(--market-soft);
}

.catalog-header,
.related-section { background: var(--market-soft); }

.catalog-filter { padding: 16px; border: 1px solid var(--market-line); }
.catalog-filter .form-control, .catalog-filter .form-select { min-height: 44px; width: 100%; min-width: 0; }
.catalog-filter .form-select { text-overflow: ellipsis; }
.catalog-filter .btn { min-height: 44px; }
.catalog-filter .form-control:focus, .catalog-filter .form-select:focus { border-color: var(--market-red); box-shadow: 0 0 0 3px rgba(234, 53, 45, .15); }
.catalog-filter :disabled { opacity: .65; cursor: not-allowed; }
.gift-categories__grid small { overflow-wrap: anywhere; max-width: 100%; }
.gift-categories__grid a:focus-visible { outline: 2px solid var(--market-red); outline-offset: 4px; }

.product-detail__image {
    display: grid;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    place-items: center;
    color: var(--market-muted);
    background: var(--market-soft);
}

.product-detail__image img { width: 100%; height: 100%; object-fit: cover; }
.product-description { line-height: 1.9; white-space: pre-line; }
.product-card__category { color: var(--market-blue); font-size: 13px; text-decoration: none; }

.cart-page { padding-top: 36px; padding-bottom: 60px; }
.cart-page__title h1 { font-size: 28px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
.cart-list { border-top: 1px solid var(--market-line); }
.cart-item { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--market-line); }
.cart-item__image { display: grid; overflow: hidden; aspect-ratio: 1 / 1; place-items: center; color: var(--market-muted); background: var(--market-soft); text-decoration: none; }
.cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__content { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.cart-item__name { overflow: hidden; max-width: 100%; font-size: 16px; font-weight: 700; text-overflow: ellipsis; text-decoration: none; white-space: nowrap; }
.cart-item__meta { color: var(--market-muted); font-size: 12px; }
.cart-item__actions { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.cart-item__actions form { display: flex; align-items: center; gap: 10px; margin: 0; }
.cart-item__actions input { width: 66px; height: 34px; padding: 0 5px; border: 1px solid #aaa; border-radius: 4px; }
.cart-item__actions button { padding: 0; border: 0; color: var(--market-blue); background: transparent; }
.cart-item__subtotal { white-space: nowrap; }
.cart-summary { position: sticky; top: 138px; padding: 24px; border: 1px solid var(--market-line); }
.cart-summary h2 { margin: 0 0 20px; font-size: 20px; }
.cart-summary > div { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.cart-summary__total { padding-top: 16px; border-top: 1px solid var(--market-line); font-size: 18px; }
.cart-checkout { display: block; margin-top: 24px; padding: 13px; border-radius: 4px; color: #fff; background: var(--market-red); font-weight: 700; text-align: center; text-decoration: none; }
.cart-checkout--disabled { background: #aaa; }
.cart-summary p { margin: 12px 0 0; color: var(--market-muted); font-size: 12px; text-align: center; }
.cart-empty { display: grid; min-height: 380px; place-items: center; align-content: center; gap: 10px; text-align: center; }
.cart-empty__icon { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 50%; color: #fff; background: var(--market-red); font-size: 24px; }
.cart-empty h2, .cart-empty p { margin: 0; }
.cart-empty p { color: var(--market-muted); }
.cart-empty a { margin-top: 10px; padding: 11px 22px; border-radius: 4px; color: #fff; background: var(--market-red); text-decoration: none; }

.checkout-page { padding-top: 34px; padding-bottom: 64px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: start; }
.checkout-fields { display: grid; gap: 20px; }
.checkout-panel { padding: 24px; border: 1px solid var(--market-line); background: #fff; }
.checkout-panel h2 { margin: 0 0 20px; font-size: 19px; font-weight: 700; }
.checkout-panel .form-control { min-height: 42px; border-radius: 4px; }
.checkout-payment { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 700; }
.checkout-payment small { width: 100%; padding-left: 22px; color: var(--market-muted); font-weight: 400; }
.checkout-summary { position: sticky; top: 138px; }
.checkout-summary__item, .checkout-summary__row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--market-line); }
.checkout-summary__item span { min-width: 0; color: var(--market-muted); }
.checkout-summary__item strong, .checkout-summary__row strong { white-space: nowrap; }
.checkout-summary__total { margin-top: 6px; border-bottom: 0; font-size: 18px; }
.checkout-summary button:disabled { background: #aaa; cursor: not-allowed; }
.checkout-success { max-width: 760px; padding-top: 64px; padding-bottom: 80px; text-align: center; }
.checkout-success__mark { display: grid; width: 64px; height: 64px; margin: 0 auto 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--market-red); font-size: 30px; }
.checkout-success h1 { font-size: 28px; }
.checkout-success__details { margin-top: 28px; text-align: left; }
.checkout-success__back { display: inline-block; margin-top: 28px; color: var(--market-blue); }
.checkout-success__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.checkout-payment-status { margin: 24px 0; padding: 20px; border: 1px solid var(--market-line); border-radius: 6px; background: #fff; overflow-wrap: anywhere; }
.checkout-payment-status p { margin: 10px 0 0; line-height: 1.6; }
.checkout-payment-status__error { color: var(--market-red); }
.checkout-success__pay { min-height: 44px; max-width: 100%; margin-top: 16px; padding: 10px 24px; border: 1px solid var(--market-blue); border-radius: 6px; color: #fff; background: var(--market-blue); font: inherit; cursor: pointer; }
.checkout-success__pay:hover { filter: brightness(.9); }
.checkout-success__pay:focus-visible { outline: 3px solid var(--market-red); outline-offset: 3px; }
.checkout-success__pay:disabled { opacity: .65; cursor: wait; }

.checkout-success__actions .checkout-success__back { padding: 10px 18px; border: 1px solid currentColor; border-radius: 6px; text-decoration: none; }

/* 确认页和订单列表的客服入口。 */
.order-chat-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; box-sizing: border-box; padding: 10px 18px; border: 1px solid #245d44; border-radius: 6px; background: #245d44; color: #fff; font: inherit; cursor: pointer; }
.checkout-success__actions .order-chat-button { margin-top: 28px; }
.order-chat-button:hover:not(:disabled) { filter: brightness(.9); }
.order-chat-button:focus-visible, .shop-chat__toggle:focus-visible, .shop-chat__header button:focus-visible, .shop-chat__form :is(textarea, button):focus-visible { outline: 3px solid var(--market-blue); outline-offset: 3px; }
.order-chat-button:disabled, .shop-chat__form button:disabled { opacity: .65; cursor: not-allowed; }
.account-heading--chat { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.account-heading--chat > div { min-width: 0; }
.account-heading--chat h1 { margin-bottom: 0; }
@media (max-width: 600px) {
    .account-heading--chat { align-items: stretch; flex-direction: column; }
    .account-heading--chat .order-chat-button { width: 100%; }
}

.shop-chat { position: fixed; z-index: 1050; right: 22px; bottom: 22px; text-align: left; font-size: 14px; }
.shop-chat__toggle { display: inline-block; border: 0; border-radius: 28px; padding: 13px 20px; color: #fff; background: #245d44; box-shadow: 0 4px 18px #1a472a33; font-weight: 700; text-decoration: none; }
.shop-chat__toggle:hover { color: #fff; }
.shop-chat__toggle, .order-chat-button { position: relative; }
.shop-chat__toggle.has-unread::after, .order-chat-button.has-unread::after { content: '1'; position: absolute; top: -5px; right: -5px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; box-sizing: border-box; border: 2px solid #fff; border-radius: 50%; background: #b91c1c; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; pointer-events: none; }
.shop-chat__panel { width: min(360px, calc(100vw - 24px)); height: min(490px, calc(100vh - 105px)); margin-bottom: 12px; background: #fff; border: 1px solid #d8e2d5; border-radius: 12px; box-shadow: 0 8px 28px #173c2a2b; display: flex; flex-direction: column; overflow: hidden; }
.shop-chat__panel[hidden] { display: none; }
.shop-chat__header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: #fff; background: #245d44; }
.shop-chat__header button { border: 0; color: inherit; background: transparent; font-size: 25px; line-height: 1; }
.shop-chat__identity { margin: 0; padding: 7px 12px; border-bottom: 1px solid #e2e8e0; color: #5b6b61; font-size: 11px; overflow-wrap: anywhere; }
.shop-chat__more { border: 0; border-bottom: 1px solid #e2e8e0; padding: 8px; color: #245d44; background: #fff; }
.shop-chat__more[hidden] { display: none; }
.shop-chat__messages { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.shop-chat__messages:empty::before { content: 'ご相談内容をお送りください。'; color: #68766b; }
.shop-chat__message { max-width: 85%; padding: 9px 12px; border-radius: 12px; background: #eef3ed; overflow-wrap: anywhere; }
.shop-chat__message--customer { align-self: flex-end; background: #dceadd; }
.shop-chat__message--admin { align-self: flex-start; }
.shop-chat__message p { margin: 0; white-space: pre-wrap; }
.shop-chat__message small { display: block; margin-top: 4px; color: #6d756f; font-size: 11px; }
.shop-chat__message img { display: block; max-width: 100%; max-height: 230px; margin-top: 6px; border-radius: 5px; object-fit: contain; }
.shop-chat__error { margin: 0; padding: 5px 12px; color: #b91c1c; }
.shop-chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e2e8e0; }
.shop-chat__form textarea { flex: 1; min-width: 0; min-height: 56px; resize: none; border: 1px solid #c8d5c8; border-radius: 6px; padding: 8px; font: inherit; }
.shop-chat__form button { align-self: end; border: 0; border-radius: 6px; padding: 9px 13px; color: #fff; background: #245d44; }
@media (max-width: 600px) { .shop-chat { right: 12px; bottom: 12px; } .shop-chat__panel { height: min(470px, calc(100vh - 92px)); } .shop-chat__form textarea { font-size: 16px; } }

.auth-section { min-height: 62vh; }
.auth-panel { width: min(100%, 460px); padding: 28px; border: 1px solid var(--market-line); background: #fff; }
.auth-panel .form-control { min-height: 46px; border-radius: 4px; }
.auth-panel button[type="submit"] { min-height: 44px; }
.auth-panel a:focus-visible, .cart-checkout:focus-visible { outline: 2px solid #286b4c; outline-offset: 4px; }
.eyebrow { color: var(--market-red); font-size: 12px; font-weight: 700; }
.account-page { max-width: 900px; padding-top: 40px; padding-bottom: 72px; }
.account-heading { margin-bottom: 26px; }
.account-heading h1 { margin-bottom: 8px; font-size: 28px; }
.account-heading p:last-child { color: var(--market-muted); }
.account-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.account-menu a, .account-menu button { display: flex; width: 100%; min-height: 94px; flex-direction: column; justify-content: center; gap: 8px; padding: 20px; border: 1px solid var(--market-line); border-radius: 6px; color: var(--market-ink); background: #fff; text-align: left; text-decoration: none; }
.account-menu a:hover, .account-menu button:hover { border-color: var(--market-red); }
.account-menu form { margin: 0; }
.account-menu strong { font-size: 16px; }
.account-menu span, .account-order small { color: var(--market-muted); font-size: 13px; }
.account-back { display: inline-block; margin-top: 24px; color: var(--market-blue); }
.account-order { display: flex; justify-content: space-between; gap: 20px; padding: 20px; border: 1px solid var(--market-line); color: var(--market-ink); text-decoration: none; }
.account-order + .account-order { border-top: 0; }
.account-order span { display: flex; flex-direction: column; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.account-order span:first-child { flex: 1; }
.account-order:focus-visible { outline: 2px solid var(--market-blue); outline-offset: 3px; }
.account-order span:last-child { text-align: right; }
/* 订单详情：商品图片与当前商品详情入口。 */
.account-order-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--market-line); }
.account-order-item__image { display: grid; place-items: center; width: 88px; height: 88px; box-sizing: border-box; border: 1px solid var(--market-line); border-radius: 6px; background: #fff; color: var(--market-muted); text-decoration: none; }
.account-order-item__image img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
a.account-order-item__image:hover { border-color: var(--market-blue); }
a.account-order-item__image:focus-visible { outline: 3px solid var(--market-blue); outline-offset: 3px; }
.account-order-item__placeholder { padding: 8px; font-size: 12px; text-align: center; }
.account-order-item__name, .account-order-item__price { min-width: 0; overflow-wrap: anywhere; }
.account-order-item__price { font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
    .account-order-item { grid-template-columns: 72px minmax(0, 1fr); gap: 8px 12px; }
    .account-order-item__image { width: 72px; height: 72px; grid-row: span 2; }
    .account-order-item__price { grid-column: 2; }
}

.account-detail { max-width: 760px; }

.site-footer { color: #444; background: var(--market-soft); }
.site-footer a, .site-footer span { display: block; margin-top: 10px; color: var(--market-muted); text-decoration: none; }
.footer-title { display: block; }
.market-logo--footer { font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }

.mobile-bottom-nav { display: none; }

@media (max-width: 991.98px) {
    .market-header__main { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; min-height: 62px; }
    .market-logo { font-size: 28px; }
    .market-actions { display: none; }
    .market-category-bar__inner { gap: 22px; }
    .market-hero__inner { grid-template-columns: 1fr 1fr; min-height: 240px; gap: 20px; }
    .market-hero__copy { padding-left: 24px; }
    .market-hero__tiles { gap: 6px; padding-right: 16px; }
    .market-hero h1 { font-size: 32px; }
    .market-discover__image { width: 72px; height: 72px; }
    .market-category-grid { grid-template-columns: repeat(3, 1fr); }
    .market-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .account-order { flex-direction: column; gap: 12px; }
    .account-order span:last-child { text-align: left; }
    .company-page__details > div { grid-template-columns: 1fr; gap: 6px; }
    .information-page__details > div { grid-template-columns: 1fr; gap: 8px; }
    .information-page__nav { gap: 6px 16px; }
    body { padding-bottom: 58px; }
    .container { --bs-gutter-x: 24px; }
    .market-header { position: sticky; }
    .market-header__main { grid-template-columns: 54px minmax(0, 1fr); }
    .market-logo { font-size: 24px; }
    .market-search input { height: 40px; padding-left: 12px; font-size: 13px; }
    .market-search button { width: 40px; height: 40px; padding: 10px; }
    .market-category-bar__inner { min-height: 42px; gap: 20px; }
    .market-hero { padding-top: 10px; }
    .market-hero__inner { grid-template-columns: 1fr 130px; min-height: 176px; gap: 2px; padding: 18px 12px; }
    .market-hero__copy { padding-left: 4px; }
    .market-kicker { margin-bottom: 4px; font-size: 11px; }
    .market-hero h1 { margin-bottom: 8px; font-size: 21px; }
    .market-hero p:not(.market-kicker) { margin-bottom: 12px; font-size: 11px; }
    .market-hero a { padding: 7px 12px; font-size: 12px; }
    .market-hero__tiles { grid-template-columns: repeat(2, 1fr); gap: 4px; padding-right: 0; }
    .market-hero__tiles img { border-width: 3px; }
    .market-hero__tiles img:last-child { display: none; }
    .market-discover__list { grid-template-columns: repeat(6, 78px); gap: 8px; overflow-x: auto; padding-bottom: 4px; }
    .market-discover__image { width: 64px; height: 64px; }
    .market-discover__name { font-size: 11px; }
    .market-category-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 8px; }
    .market-category-grid span { width: 64px; height: 64px; }
    .market-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 8px; }
    .market-product-card__body h3 { font-size: 13px; }
    .market-product-card__price { bottom: 6px; padding: 5px 9px 5px 6px; font-size: 14px; }
    .market-discover, .market-categories, .market-products-section { padding-top: 24px; padding-bottom: 20px; }
    .market-section-title h2 { font-size: 18px; }
    .cart-layout { grid-template-columns: 1fr; gap: 24px; }
    .cart-item { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
    .cart-item__subtotal { grid-column: 2; }
    .cart-summary { position: static; padding: 20px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-panel { padding: 20px; }
    .checkout-summary { position: static; }
    .auth-panel { padding: 20px; }
    .auth-panel .form-control { font-size: 16px; }
    .account-menu { grid-template-columns: 1fr; }
    .site-footer { padding-bottom: 20px; }
    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: 58px;
        border-top: 1px solid var(--market-line);
        background: #fff;
    }
    .mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #333; text-decoration: none; }
    .mobile-bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
    .mobile-bottom-nav small { font-size: 10px; }
}

/* Japanese editorial storefront */
:root {
    --market-red: #5e776b;
    --market-red-dark: #425c50;
    --market-blue: #425c50;
    --market-ink: #292f2a;
    --market-muted: #777e77;
    --market-line: #e2e5dd;
    --market-soft: #f5f6f1;
}
body { color: var(--market-ink); background: #fff; font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: 14px; letter-spacing: .025em; }
.container { max-width: 1260px; }
a:hover { color: var(--market-red-dark); }
.store-note { min-height: 30px; display: grid; place-items: center; background: #eff2eb; color: #53675b; font-size: 11px; letter-spacing: .18em; }
.market-header { box-shadow: 0 3px 16px rgb(23 35 26 / 3%); }
.market-header__main { grid-template-columns: minmax(90px, 160px) minmax(190px, 1fr) auto auto; gap: 28px; min-height: 88px; }
.market-logo { color: #34483e; font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-weight: 600; letter-spacing: .12em; }
.market-logo img { max-width: 150px; max-height: 64px; }
.market-search { max-width: 450px; justify-self: end; }
.market-search input { border-radius: 0; background: #fff; border-color: #d9dfd8; letter-spacing: .04em; }
.market-search input:focus { border-color: #637f70; box-shadow: 0 0 0 1px #637f70; }
.market-search button { color: #52695a; }
.locale-switch { position: relative; margin: 0; }
.locale-switch select { min-width: 98px; height: 40px; padding: 0 22px 0 8px; border: 0; border-bottom: 1px solid #c7d0c6; color: #46594d; background: transparent; font-size: 12px; cursor: pointer; }
.locale-switch select:focus-visible { outline: 2px solid #5e776b; outline-offset: 2px; }
.market-actions { gap: 19px; font-size: 12px; }
.market-actions .sell-button { padding: 11px 18px; border-radius: 0; background: #596f60; font-weight: 500; letter-spacing: .08em; }
.market-cart-link > span { background: #596f60; }
.market-category-bar { border-color: var(--market-line) !important; }
.market-category-bar__inner { justify-content: center; min-height: 52px; gap: clamp(18px, 3.2vw, 45px); }
.market-category-bar a { color: #4d5c50; font-size: 12px; letter-spacing: .08em; }
.market-category-all { color: #496b59 !important; }
.market-hero, .site-banner { padding-top: 28px; }
.market-hero__inner { min-height: 410px; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 32px; padding: 36px 52px; background: #e9eee7; }
.market-hero__copy { padding-left: 22px; }
.market-kicker, .section-eyebrow, .eyebrow { color: #648371; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.market-hero h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: clamp(34px, 3.6vw, 53px); font-weight: 500; line-height: 1.55; letter-spacing: .07em; }
.market-hero p:not(.market-kicker) { max-width: 38ch; color: #66716a; font-size: 14px; line-height: 1.9; }
.market-hero a { padding: 13px 28px; border-radius: 0; background: #596f60; font-weight: 500; letter-spacing: .09em; }
.market-hero__tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; padding-right: 0; }
.market-hero__tiles img { aspect-ratio: 3 / 4; border: 0; border-radius: 0; box-shadow: 0 16px 25px rgb(38 58 39 / 10%); }
.market-hero__tiles img:nth-child(2) { transform: translateY(28px); }
.hero-editorial-art { position: relative; display: flex; align-items: flex-end; overflow: hidden; aspect-ratio: 3 / 4; padding: 16px; color: #405c4b; background: #f8f8f2; box-shadow: 0 16px 25px rgb(38 58 39 / 10%); }
.hero-editorial-art:nth-child(2) { transform: translateY(28px); background: #d5dfd2; }
.hero-editorial-art:nth-child(3) { background: #f0e8dc; }
.hero-editorial-art::before { position: absolute; top: 15%; left: 17%; width: 68%; aspect-ratio: 1; border: 1px solid #9daf9d; border-radius: 50%; content: ""; }
.hero-editorial-art::after { position: absolute; top: 29%; left: 37%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #b9cbb8; content: ""; }
.hero-editorial-art:nth-child(2)::before { border-radius: 0; transform: rotate(25deg); }
.hero-editorial-art:nth-child(2)::after { background: #eff1e9; }
.hero-editorial-art:nth-child(3)::after { background: #cebda9; }
.hero-editorial-art span { position: relative; z-index: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-family: Georgia, serif; font-size: 11px; letter-spacing: .13em; }
.market-discover, .market-categories, .market-products-section { padding-top: 76px; padding-bottom: 70px; }
.market-discover { border-bottom: 0; }
.market-categories { background: #f7f8f4; max-width: none; padding-inline: max(calc((100% - 1236px) / 2), 24px); }
.market-section-title { margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--market-line); }
.market-section-title h2 { margin-top: 8px; font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: clamp(23px, 2.5vw, 32px); font-weight: 500; letter-spacing: .05em; }
.market-section-title > a { color: #526a59; font-size: 12px; letter-spacing: .06em; }
.market-discover__list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.market-discover__image { width: 100%; height: auto; aspect-ratio: 1 / 1; margin-bottom: 12px; border: 0; border-radius: 0; background: #f3f5ef; }
.market-discover__name { font-size: 12px; line-height: 1.6; }
.market-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; }
.market-category-grid a { display: grid; grid-template-columns: 34px 1fr 20px; align-items: center; gap: 14px; min-height: 83px; border-bottom: 1px solid #dce2d9; text-align: left; }
.market-category-grid span, .market-category-grid a:nth-child(2n) span, .market-category-grid a:nth-child(3n) span { display: block; width: auto; height: auto; color: #91a496; background: none; font-family: Georgia, serif; font-size: 15px; font-weight: 400; }
.market-category-grid strong { font-weight: 500; }
.market-category-grid small { color: #779283; font-size: 18px; }
.market-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 20px; }
.market-product-card__image { aspect-ratio: 1 / 1.16; background: #f3f5f1; }
.market-product-card__image img { transition: transform .35s ease; }
.market-product-card:hover img { transform: scale(1.04); }
.market-product-card__body { padding-top: 13px; }
.market-product-card__category { display: block; margin-bottom: 5px; color: #849085; font-size: 11px; letter-spacing: .08em; }
.market-product-card__body h3 { min-height: auto; margin-bottom: 8px; font-size: 14px; line-height: 1.65; }
.market-product-card__price { position: static; display: block; padding: 0; border-radius: 0; color: #425a4a; background: transparent; font-size: 15px; font-weight: 600; }
.market-product-card__sold { width: auto; height: auto; padding: 7px 10px; color: #fff; background: #87968b; font-size: 10px; letter-spacing: .1em; }
.market-product-card__sold::before { display: none; }
.catalog-header, .related-section { background: #f7f8f4; }
.catalog-header h1, .cart-page__title h1, .checkout-page h1, .account-heading h1 { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-weight: 500; }
.catalog-filter, .cart-summary, .checkout-panel, .auth-panel, .account-menu a, .account-menu button { border-color: var(--market-line); border-radius: 0; }
.form-control, .form-select, .btn, .cart-checkout { border-radius: 0; }
.btn-dark, .cart-checkout { border-color: #536f5e; background: #536f5e; }
.btn-dark:hover, .cart-checkout:hover { border-color: #3e5b49; background: #3e5b49; color: #fff; }
.site-footer { background: #eff2ed; border-color: #dce3db !important; }
.footer-title { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-size: 17px; font-weight: 500; }
.site-footer a:hover { color: #375846; }
@media (max-width: 991.98px) {
    .market-header__main { grid-template-columns: 90px minmax(0, 1fr) auto; gap: 15px; }
    .market-search { max-width: none; }
    .market-actions { display: none; }
    .market-category-bar__inner { justify-content: flex-start; }
    .market-hero__inner { min-height: 330px; padding: 24px; }
    .market-hero__copy { padding-left: 8px; }
    .market-discover__list { gap: 12px; }
    .market-category-grid { gap: 0 18px; }
}
@media (max-width: 767.98px) {
    .store-note { min-height: 26px; font-size: 10px; }
    .market-header__main { grid-template-columns: 50px minmax(0, 1fr) 86px; gap: 9px; min-height: 64px; }
    .market-logo { font-size: 24px; }
    .market-logo img { max-width: 50px; max-height: 44px; }
    .market-search input { height: 40px; padding-left: 9px; font-size: 12px; }
    .locale-switch select { min-width: 82px; width: 82px; padding-left: 2px; font-size: 11px; }
    .market-category-bar__inner { min-height: 44px; gap: 20px; }
    .market-hero { padding-top: 12px; }
    .market-hero__inner { grid-template-columns: 1fr; min-height: auto; padding: 38px 22px 26px; gap: 20px; }
    .market-hero__copy { padding-left: 0; }
    .market-hero h1 { font-size: 31px; }
    .market-hero p:not(.market-kicker) { font-size: 12px; }
    .market-hero__tiles { grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .market-hero__tiles img, .market-hero__tiles img:last-child { display: block; border: 0; }
    .market-hero__tiles img:nth-child(2) { transform: translateY(10px); }
    .hero-editorial-art:nth-child(2) { transform: translateY(10px); }
    .market-discover, .market-categories, .market-products-section { padding-top: 44px; padding-bottom: 44px; }
    .market-discover__list { grid-template-columns: repeat(6, 112px); gap: 12px; }
    .market-discover__image { width: 100%; height: auto; }
    .market-categories { padding-inline: 12px; }
    .market-category-grid { grid-template-columns: 1fr; }
    .market-category-grid a { min-height: 64px; }
    .market-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
    .market-product-card__price { font-size: 14px; }
    .market-section-title h2 { font-size: 23px; }
    .site-footer { padding-bottom: 16px; }
    .mobile-bottom-nav { border-color: var(--market-line); background: #fbfcf9; }
}

/* Storefront page structure aligned to the supplied gift-store reference. */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.gift-header { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid #eee; color: #2b2b2b; font-family: Arial, "Noto Sans JP", sans-serif; }
.gift-header__top { position: relative; display: flex; align-items: center; justify-content: center; max-width: 1100px; height: 72px; margin: 0 auto; }
.gift-header__brand { display: inline-flex; align-items: center; gap: 4px; max-width: 360px; color: #171717; font-size: 19px; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; text-align: center; text-decoration: none; white-space: normal; }
.gift-header__brand span:last-child { min-width: 0; overflow-wrap: anywhere; }
.gift-header__brand:hover { color: #171717; }
.gift-header__brand img { display: block; max-width: 190px; max-height: 50px; object-fit: contain; }
.gift-header__brand-mark { color: #e20b20; font-size: 29px; font-weight: 400; line-height: 1; }
.gift-header__actions { position: absolute; right: 0; display: flex; align-items: center; gap: 20px; }
.gift-header__actions a, .gift-header__actions summary { position: relative; display: flex; width: 26px; height: 30px; align-items: center; justify-content: center; color: #242424; cursor: pointer; }
.gift-header__actions svg, .gift-header__menu svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.gift-header__search summary { list-style: none; }
.gift-header__search summary::-webkit-details-marker { display: none; }
.gift-header__search form { position: absolute; top: 59px; right: 0; display: flex; width: min(420px, calc(100vw - 28px)); padding: 10px; border: 1px solid #ddd; background: #fff; box-shadow: 0 12px 24px #0001; }
.gift-header__search input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid #ddd; outline-color: #0068b3; }
.gift-header__search form button { min-width: 68px; border: 0; color: #fff; background: #0068b3; }
.gift-header__bag span { position: absolute; top: -4px; right: -8px; min-width: 17px; height: 17px; padding: 1px 4px; border-radius: 50%; color: #fff; background: #d60017; font-size: 10px; text-align: center; }
.gift-header__menu { display: none; }
.gift-header__navigation { max-width: 1100px; margin: 0 auto; }
.gift-header__nav-row { display: flex; align-items: center; justify-content: center; gap: 25px; min-height: 47px; white-space: nowrap; }
.gift-header__nav-row a { color: #595959; font-size: 14px; text-decoration: none; }
.gift-header__nav-row a:hover { color: #0068b3; }
.gift-header__nav-row--secondary { min-height: 46px; gap: 28px; }
.gift-header__locale { margin: 0; }
.gift-header__locale select { max-width: 108px; border: 0; color: #555; background: transparent; font-size: 12px; cursor: pointer; }
.gift-header__locale select:focus-visible { outline: 2px solid #0068b3; }
.mobile-bottom-nav { display: none !important; }
body:has(.gift-header) { padding-bottom: 0; font-family: Arial, "Noto Sans JP", sans-serif; }
body:has(.gift-header) .site-footer { margin-top: 90px; background: #fff; border-color: #eee !important; }
body:has(.gift-header) .site-footer .market-logo { color: #222; font-family: Arial, sans-serif; }
body:has(.gift-header) .site-footer a:hover { color: #0068b3; }

.gift-hero { position: relative; overflow: hidden; padding-top: 0; }
.gift-hero__track { display: flex; width: max-content; gap: 16px; transform: translateX(calc(50vw - 252px - 520px * var(--gift-carousel-index, 1))); transition: transform .35s ease; }
.gift-hero__slide { position: relative; display: block; overflow: hidden; flex: 0 0 504px; width: 504px; height: 252px; border-radius: 16px; color: #fff; text-decoration: none; }
.gift-hero__slide:hover { color: #fff; }
.gift-hero__slide > img, .gift-hero__slide picture, .gift-hero__slide picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gift-hero__slide--orange { background: #e84d0a; }
.gift-hero__slide--blue { background: #188aaf; }
.gift-hero__slide--pink { background: #f3ceca; }
.gift-hero__slide:has(img) .gift-hero__copy { background: linear-gradient(90deg, #0008, transparent 78%); }
.gift-hero__slide:has(img) .gift-hero__decoration { display: none; }
.gift-hero__decoration { position: absolute; top: -40px; right: -45px; width: 245px; height: 245px; border: 2px solid #fff7; border-radius: 50%; box-shadow: 0 0 0 24px #fff2, 0 0 0 64px #fff1; }
.gift-hero__slide--blue .gift-hero__decoration { top: 75px; right: -50px; border-radius: 18px; transform: rotate(22deg); }
.gift-hero__slide--pink .gift-hero__decoration { width: 190px; height: 190px; background: #fff6; border: 0; }
.gift-hero__copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 26px 38px; }
.gift-hero__copy h1 { margin: 0; color: inherit; }
.gift-hero__copy small { margin-bottom: 10px; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.gift-hero__copy :is(strong, h1) { max-width: 330px; font-size: 35px; font-weight: 800; line-height: 1.25; letter-spacing: .025em; }
.gift-hero__copy > span { margin-top: 17px; padding: 6px 14px; border-radius: 2px; background: #fff; color: #222; font-size: 13px; }
.gift-hero__slide--pink .gift-hero__copy { color: #363230; }
.gift-hero__slide--pink .gift-hero__copy > span { background: #363230; color: #fff; }
.gift-hero__slide--pink:has(img) .gift-hero__copy { color: #fff; }
.gift-hero__slide--pink:has(img) .gift-hero__copy > span { background: #fff; color: #222; }
.gift-hero__arrow { position: absolute; top: 103px; z-index: 2; width: 46px; height: 46px; border: 1px solid #555; border-radius: 50%; color: #222; background: #fff; font-size: 34px; line-height: 1; }
.gift-hero__arrow--prev { left: calc(50vw - 488px); }
.gift-hero__arrow--next { right: calc(50vw - 488px); }
.gift-hero__dots { display: flex; justify-content: center; gap: 8px; margin-top: 42px; }
.gift-hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #d0d0d0; }
.gift-hero__dots button[aria-current="true"] { background: #222; }
.gift-section { position: relative; max-width: 1000px; margin-right: auto; margin-left: auto; }
.gift-section__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 21px; }
.gift-section__heading h2, .gift-categories h2 { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: .02em; }
.gift-section__heading a { color: #0068b3; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gift-ranking { margin-top: 75px; }
.gift-ranking__viewport { overflow: hidden; margin-right: -100px; margin-left: -1px; padding: 2px 1px 18px; }
.gift-ranking__track { display: flex; gap: 20px; width: max-content; transition: transform .3s ease; }
.gift-ranking__card { flex: 0 0 320px; overflow: hidden; width: 320px; min-height: 430px; border-radius: 16px; color: #202020; background: #fff; box-shadow: 0 3px 12px #0002; text-decoration: none; }
.gift-ranking__card:hover { color: #202020; }
.gift-ranking__image { position: relative; width: 100%; height: 200px; background: #f3f3f3; }
.gift-ranking__image img { width: 100%; height: 100%; object-fit: cover; }
.gift-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #777; background: #f3f3f3; font-size: 13px; }
.gift-ranking__number { position: absolute; top: 0; left: 0; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 0 0 14px 0; color: #fff; background: #d9b554; font-size: 20px; }
.gift-ranking__number--2 { background: #aaaeb2; }
.gift-ranking__number--3 { background: #b58a59; }
.gift-ranking__number--4 { background: #252525; }
.gift-ranking__body { padding: 17px 16px 18px; }
.gift-ranking__body h3 { margin: 0 0 7px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.gift-ranking__body strong { color: #d00000; font-size: 16px; }
.gift-ranking__body strong small { font-size: 13px; }
.gift-ranking__body p { display: -webkit-box; overflow: hidden; margin: 13px 0 0; -webkit-line-clamp: 4; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.5; }
.gift-ranking__arrow { position: absolute; top: 255px; z-index: 2; width: 40px; height: 40px; border: 1px solid #ccc; border-radius: 50%; color: #444; background: #fff; font-size: 27px; line-height: 1; }
.gift-ranking__arrow--prev { left: -60px; }
.gift-ranking__arrow--next { right: -60px; }
.gift-empty { min-height: 160px; display: grid; place-items: center; color: #777; background: #f6f6f6; }
.gift-picks { margin-top: 54px; }
.gift-picks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 42px 20px; }
.gift-picks__card { min-width: 0; color: #222; text-decoration: none; }
.gift-picks__card:hover { color: #222; }
.gift-picks__image { display: block; overflow: hidden; width: 100%; aspect-ratio: 1 / 1; background: #f4f4f4; }
.gift-picks__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gift-picks__card > small { display: block; margin-top: 14px; color: #555; font-size: 12px; }
.gift-picks__card > strong { display: block; margin-top: 5px; font-size: 17px; font-weight: 500; line-height: 1.5; }
.gift-picks__card p { display: -webkit-box; overflow: hidden; margin: 8px 0; -webkit-line-clamp: 4; -webkit-box-orient: vertical; color: #888; font-size: 13px; line-height: 1.45; }
.gift-picks__card > span:last-child { display: block; font-size: 15px; }
.gift-picks__card > span:last-child small { font-size: 12px; }
.gift-categories { margin-top: 70px; }
.gift-categories h3 { margin: 30px 0 18px; font-size: 19px; font-weight: 700; }
.gift-categories__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 16px; }
.gift-categories__grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #333; text-align: center; text-decoration: none; }
.gift-categories__grid a > span { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 50%; background: #f4f4f4; font-size: 26px; }
.gift-categories__grid img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.gift-categories__grid small { font-size: 13px; }

.gift-detail { max-width: 1100px; margin: 0 auto; }
.gift-detail__breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 22px; margin-bottom: 56px; color: #666; font-size: 14px; }
.gift-detail__breadcrumb a { color: #0068b3; text-decoration: underline; }
.gift-detail__main { display: grid; grid-template-columns: 495px minmax(0, 1fr); gap: 50px; align-items: start; }
.gift-gallery { min-width: 0; width: 100%; overflow: hidden; }
.gift-gallery__stage { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #f4f4f4; }
.gift-gallery__stage > .swiper-wrapper { display: flex; width: 100%; height: 100%; overflow: auto hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gift-gallery__stage.swiper-initialized > .swiper-wrapper { overflow: visible; scroll-snap-type: none; }
.gift-gallery__stage > .swiper-wrapper::-webkit-scrollbar, .gift-gallery__thumbs > .swiper-wrapper::-webkit-scrollbar { display: none; }
.gift-gallery__slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; background: #f4f4f4; }
.gift-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gift-gallery__slide--empty { display: grid; place-items: center; color: #888; }
.gift-gallery__thumbs { width: 100%; height: 90px; margin-top: 8px; padding: 4px; overflow: hidden; }
.gift-gallery__thumbs > .swiper-wrapper { display: flex; overflow: auto hidden; scrollbar-width: none; gap: 10px; }
.gift-gallery__thumbs.swiper-initialized > .swiper-wrapper { overflow: visible; gap: 0; }
.gift-gallery__thumbs button { flex: 0 0 82px; width: 82px; height: 82px; padding: 0; border: 2px solid transparent; border-radius: 4px; background: #f4f4f4; cursor: pointer; }
.gift-gallery__thumbs button[aria-current="true"] { border-color: #333; }
.gift-gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gift-gallery__controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 12px; color: #666; font-size: 13px; }
.gift-gallery__controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ddd; border-radius: 50%; color: #333; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.gift-gallery__controls button:hover { border-color: #333; background: #f4f4f4; }
.gift-gallery__controls button:disabled { opacity: .4; cursor: default; }
.gift-gallery:focus-visible, .gift-gallery button:focus-visible { outline: 3px solid #d9c795; outline-offset: 1px; }
.gift-detail__category { margin: 0 0 4px; color: #333; font-size: 14px; }
.gift-detail__info h1 { margin: 0 0 16px; font-size: 26px; font-weight: 400; line-height: 1.35; }
.gift-detail__meta { display: flex; align-items: center; gap: 5px; margin: 0 0 20px; color: #666; font-size: 13px; }
.gift-detail__stock-dot { width: 7px; height: 7px; border-radius: 50%; background: #ee9c10; }
.gift-detail__meta-divider { margin: 0 5px; color: #aaa; }
.gift-detail__price { margin: 0 0 30px; font-size: 26px; font-weight: 700; }
.gift-detail__price small { font-size: 15px; }
.gift-detail__summary { color: #8a8a8a; font-size: 14px; line-height: 1.6; }
.gift-detail__info-link { color: #0068b3; font-size: 14px; font-weight: 600; text-decoration: none; }
.gift-detail__purchase { margin-top: 52px; }
.gift-detail__purchase label { display: block; margin-bottom: 7px; color: #555; font-size: 14px; }
.gift-detail__quantity { display: flex; width: 142px; height: 47px; border: 1px solid #999; }
.gift-detail__quantity button { width: 42px; border: 0; background: #fff; color: #333; font-size: 19px; }
.gift-detail__quantity input { width: 58px; border: 0; outline: 0; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.gift-detail__quantity input::-webkit-inner-spin-button, .gift-detail__quantity input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.gift-detail__add { display: block; width: 100%; max-width: 480px; min-height: 54px; margin-top: 32px; border: 1px solid #d80015; border-radius: 2px; color: #fff; background: #d80015; font-weight: 700; }
.gift-detail__add:hover { background: #b60012; }
.gift-detail__add:disabled { border-color: #aaa; background: #aaa; }
.gift-detail__guide { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; color: #888; font-size: 13px; }
.gift-detail__description { margin-top: 90px; padding-top: 30px; border-top: 1px solid #ddd; }
.gift-detail__description h2 { margin-bottom: 24px; font-size: 24px; }
.gift-detail__description > div { white-space: pre-line; line-height: 1.8; }
.gift-related { margin-top: 95px; }
.gift-related .market-product-card__image { aspect-ratio: 1 / 1; }

.gift-checkout-body { padding: 0; color: #151515; background: #fff; font-family: Arial, "Noto Sans JP", sans-serif; font-size: 14px; letter-spacing: 0; }
.gift-checkout-header { position: relative; display: flex; height: 73px; align-items: center; justify-content: center; border-bottom: 1px solid #e4e4e4; background: #fff; }
.gift-checkout-header > a:first-child { display: flex; align-items: center; gap: 3px; max-width: 230px; color: #111; font-size: 19px; font-weight: 700; text-decoration: none; }
.gift-checkout-header > a:first-child span:last-child { min-width: 0; overflow-wrap: anywhere; }
.gift-checkout-header img { max-width: 175px; max-height: 45px; object-fit: contain; }
.gift-checkout-header__bag { position: absolute; right: max(calc((100vw - 980px) / 2), 22px); display: flex; width: 28px; height: 30px; color: #0068ee; }
.gift-checkout-header__bag svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gift-checkout { display: grid; grid-template-columns: 53.4% 46.6%; grid-template-areas: "form summary"; align-items: stretch; min-height: calc(100vh - 73px); }
.gift-checkout__left { grid-area: form; padding: 40px 40px 50px 20px; }
.gift-checkout__left-inner { width: 100%; max-width: 500px; margin-left: auto; }
.gift-checkout__section { margin-bottom: 36px; }
.gift-checkout__section h1, .gift-checkout__section h2 { margin: 0; font-size: 20px; font-weight: 700; }
.gift-checkout__section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.gift-checkout__section-heading a, .gift-checkout__footer a { color: #0068d7; text-decoration: underline; }
.gift-checkout__input, .gift-checkout__field input, .gift-checkout__field textarea { display: block; width: 100%; min-height: 49px; padding: 14px 11px; border: 1px solid #dedede; border-radius: 12px; outline-color: #0068ee; background: #fff; font-family: inherit; font-size: 14px; }
.gift-checkout__input::placeholder { color: #777; }
.gift-checkout__help { margin: 3px 0 14px; color: #777; font-size: 13px; }
.gift-checkout__payment { overflow: hidden; border: 1px solid #cfcfcf; border-radius: 12px; }
.gift-checkout__payment label { display: flex; gap: 12px; align-items: center; min-height: 52px; padding: 0 14px; border: 1px solid #0068ee; color: #111; background: #f5f7ff; font-weight: 700; }
.gift-checkout__payment input { width: 18px; height: 18px; accent-color: #0068ee; }
.gift-checkout__payment p { margin: 0; padding: 22px 14px; color: #6c6c6c; background: #f5f5f5; font-size: 13px; }
.gift-checkout__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.gift-checkout__field { position: relative; }
.gift-checkout__field--full { grid-column: 1 / -1; }
.gift-checkout__field label { position: absolute; top: 5px; left: 12px; color: #777; font-size: 10px; }
.gift-checkout__field input { padding-top: 20px; }
.gift-checkout__field textarea { min-height: 85px; padding-top: 22px; resize: vertical; }
.gift-checkout__submit { width: 100%; min-height: 52px; border: 0; border-radius: 12px; color: #fff; background: #0068ee; font-size: 16px; font-weight: 700; }
.gift-checkout__submit:disabled { background: #aaa; }
.gift-checkout__submit:focus-visible { outline: 3px solid #0068ee; outline-offset: 3px; }
.gift-checkout__notice { margin-top: 12px; color: #888; font-size: 12px; }
.gift-checkout__footer { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 42px; font-size: 12px; }
.gift-checkout__error { margin-bottom: 22px; padding: 12px; border: 1px solid #d95d5d; border-radius: 8px; color: #a02020; background: #fff6f6; }
.gift-checkout__error ul { margin: 0; padding-left: 20px; }
.gift-checkout__summary { grid-area: summary; min-width: 0; padding: 40px 20px 50px 40px; border-left: 1px solid #e1e1e1; background: #f5f5f5; }
.gift-checkout__summary-inner { width: 100%; max-width: 400px; }
.gift-checkout__summary-toggle { display: none; }
.gift-checkout__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 20px; }
.gift-checkout__item-image { position: relative; display: grid; width: 64px; height: 64px; place-items: center; border: 1px solid #ddd; border-radius: 12px; background: #fff; }
.gift-checkout__item-image img { width: 100%; height: 100%; border-radius: 11px; object-fit: cover; }
.gift-checkout__item-image > span { color: #999; font-size: 10px; }
.gift-checkout__item-image b { position: absolute; top: -8px; right: -8px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #fff; background: #111; font-size: 12px; }
.gift-checkout__item-name { min-width: 0; font-size: 13px; }
.gift-checkout__item-name small { display: block; margin-top: 3px; color: #777; }
.gift-checkout__item > strong { white-space: nowrap; font-size: 13px; font-weight: 500; }
.gift-checkout__totals { padding-top: 16px; border-top: 1px solid #ddd; }
.gift-checkout__totals > div { display: flex; justify-content: space-between; gap: 15px; margin: 9px 0; }
.gift-checkout__total { padding-top: 15px; border-top: 1px solid #ddd; font-size: 20px; }
.gift-checkout__total small { color: #777; font-size: 11px; font-weight: 400; }
@media (max-width: 1199px) {
    .gift-section { margin-right: 24px; margin-left: 24px; }
    .gift-ranking__viewport { margin-right: 0; }
    .gift-ranking__arrow--prev { left: 0; }
    .gift-ranking__arrow--next { right: 0; }
    .gift-hero__arrow--prev { left: max(12px, calc(50vw - 488px)); }
    .gift-hero__arrow--next { right: max(12px, calc(50vw - 488px)); }
    .gift-detail { margin-right: 24px; margin-left: 24px; }
    .gift-header__top, .gift-header__navigation { margin-right: 24px; margin-left: 24px; }
    .gift-detail__main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 767.98px) {
    .gift-header__top { height: 72px; margin: 0 15px; }
    .gift-header__brand { max-width: 210px; font-size: 18px; }
    .gift-header__brand img { max-width: 170px; max-height: 44px; }
    .gift-header__menu { position: absolute; left: 0; display: flex; width: 24px; height: 26px; align-items: center; justify-content: center; padding: 0; border: 0; color: #555; background: transparent; }
    .gift-header__actions { right: 0; gap: 16px; }
    .gift-header__account { display: none !important; }
    .gift-header__navigation { display: none; position: absolute; top: 72px; right: 0; left: 0; max-width: none; margin: 0; padding: 18px; border-top: 1px solid #eee; background: #fff; box-shadow: 0 16px 24px #0002; }
    .gift-header__navigation.is-open { display: block; }
    .gift-header__nav-row { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .gift-header__nav-row a { padding: 11px 2px; border-bottom: 1px solid #eee; }
    .gift-header__nav-row--secondary { margin-top: 8px; }
    .gift-header__locale { padding: 12px 0; }
    .gift-header__search form { top: 52px; right: -44px; }
    .gift-hero { padding-top: 15px; }
    .gift-hero__track { transform: translateX(calc(50vw - 160px - 336px * var(--gift-carousel-index, 1))); }
    .gift-hero__slide { flex-basis: 320px; width: 320px; height: 400px; }
    .gift-hero__slide > img, .gift-hero__slide picture img { object-position: center; }
    .gift-hero__copy { padding: 25px; }
    .gift-hero__copy :is(strong, h1) { font-size: 32px; }
    .gift-hero__arrow { display: none; }
    .gift-hero__dots { display: none; }
    .gift-section { margin-right: 20px; margin-left: 20px; }
    .gift-section__heading { margin-bottom: 18px; }
    .gift-section__heading h2 { font-size: 20px; }
    .gift-section__heading a { font-size: 13px; }
    .gift-ranking { margin-top: 40px; }
    .gift-ranking__viewport { overflow-x: auto; margin-right: -20px; padding-bottom: 14px; scrollbar-width: none; }
    .gift-ranking__viewport::-webkit-scrollbar { display: none; }
    .gift-ranking__card { flex-basis: 320px; min-height: 390px; }
    .gift-ranking__arrow { display: none; }
    .gift-picks { margin-top: 50px; }
    .gift-picks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
    .gift-picks__card > strong { font-size: 15px; }
    .gift-categories { margin-top: 58px; }
    .gift-categories__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gift-detail { margin: 0 15px; }
    .gift-detail__breadcrumb { padding-top: 20px; margin-bottom: 30px; font-size: 13px; line-height: 1.7; }
    .gift-detail__main { display: block; }
    .gift-gallery__stage { aspect-ratio: 1 / 1; }
    .gift-gallery__thumbs { height: 72px; }
    .gift-gallery__thumbs button { flex-basis: 64px; width: 64px; height: 64px; }
    .gift-gallery__controls { margin-top: 10px; }
    .gift-detail__category { margin-top: 11px; }
    .gift-detail__info h1 { font-size: 22px; }
    .gift-detail__price { margin-bottom: 24px; font-size: 24px; }
    .gift-detail__purchase { margin-top: 40px; }
    .gift-detail__description { margin-top: 65px; }
    .gift-related { margin-top: 65px; }
    .gift-checkout-header { height: 72px; }
    .gift-checkout-header__bag { right: 15px; }
    .gift-checkout { display: flex; flex-direction: column; min-height: 0; }
    .gift-checkout__summary { order: -1; padding: 0; border: 0; border-bottom: 1px solid #ddd; background: #f5f5f5; }
    .gift-checkout__summary-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 64px; padding: 0 15px; border: 0; color: #0068d7; background: transparent; text-align: left; }
    .gift-checkout__summary-toggle strong { color: #111; font-size: 16px; }
    .gift-checkout__summary-inner { display: none; max-width: none; padding: 17px 15px 22px; }
    .gift-checkout__summary.is-open .gift-checkout__summary-inner { display: block; }
    .gift-checkout__left { order: 0; padding: 20px 14px 45px; }
    .gift-checkout__left-inner { max-width: none; }
    .gift-checkout__section { margin-bottom: 36px; }
    .gift-checkout__fields { grid-template-columns: 1fr; }
    .gift-checkout__input, .gift-checkout__field input, .gift-checkout__field textarea { font-size: 16px; }
    .gift-checkout__field--full { grid-column: auto; }
}

[data-variant-select] { width: 100%; max-width: 100%; min-height: 44px; padding: 10px; border: 1px solid #c8d3d0; border-radius: 4px; background: #fff; color: #263b35; }
[data-variant-select]:focus-visible { outline: 2px solid #216b58; outline-offset: 2px; }
[data-variant-status] { margin: 8px 0; overflow-wrap: anywhere; }
