@charset "utf-8";

/* ===== 상품 상세 ===== */
.product_page { padding-top: 12px; padding-bottom: var(--front_section_space); }
.product_breadcrumb { margin-bottom: 20px; }
.product_band { margin-bottom: 28px; }
.product_band img { display: block; width: 100%; height: auto; border-radius: var(--media_radius, var(--front_radius)); }
.product_top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.product_gallery { position: static; top: calc(var(--front_header_height) + 20px); }
.product_category_box { display: flex; gap: 8px; margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.product_category_box::-webkit-scrollbar { display: none; }
.product_category_box .chip { flex: 0 0 auto; }
.product_qr { display: none; align-items: center; gap: 12px; margin-top: 16px; font-size: .8125rem; color: var(--front_text_soft); }
.product_qr_code { flex: 0 0 auto; width: 88px; height: 88px; }
.product_qr_code svg { display: block; width: 100%; height: 100%; }
.product_summary { min-width: 0; overflow-wrap: anywhere; }
.product_summary .product_card_icons { margin-bottom: 10px; }
.product_code { margin-bottom: 4px; font-size: .8125rem; color: var(--front_muted); }
.product_title { font-size: 1.375rem; font-weight: 700; line-height: 1.35; letter-spacing: -.5px; overflow-wrap: anywhere; }
.product_tooltip { display: -webkit-box; margin-top: 8px; overflow: hidden; color: var(--front_text_soft); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product_rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--front_text_soft); }
.product_price_box { margin-top: 20px; padding: 18px 20px; background: var(--front_surface_alt); border-radius: var(--front_radius); }
.product_price_consumer { color: var(--front_muted); }
.product_price_row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.product_price_sale { font-size: 1rem; font-weight: 700; color: var(--price_color, var(--front_text)); }
.product_price_sale strong { margin: 0 2px 0 4px; font-size: 1.75rem; letter-spacing: -.5px; }
.product_price_off { font-size: 1.5rem; font-weight: 700; color: var(--discount_color, var(--front_danger)); white-space: nowrap; }
.product_price_off i { font-size: 1.125rem; }
.product_price_period { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--discount_color, var(--front_danger)); }
.product_price_period_badge { padding: 2px 8px; font-size: .75rem; font-weight: 700; color: var(--front_on_primary); background: var(--front_danger); border-radius: var(--front_radius_small); }
.product_price_unit { margin-top: 6px; font-size: .875rem; color: var(--front_text_soft); }
.product_levels { margin-top: 12px; }
.product_levels summary { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; color: var(--front_primary); background: var(--front_primary_soft); border-radius: var(--front_radius_small); cursor: pointer; }
.product_levels table { width: 100%; max-width: 360px; margin-top: 10px; border-collapse: collapse; }
.product_levels th, .product_levels td { padding: 8px 12px; border-bottom: 1px solid var(--front_border); text-align: left; }
.product_levels td + td { text-align: right; font-weight: 600; }
.product_levels tr.is_current td { color: var(--front_primary); font-weight: 700; }
.product_coupon { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; background: var(--front_accent_soft); border-radius: var(--front_radius_small); }
.product_coupon p > i { margin-right: 2px; vertical-align: middle; position: relative; top: -2px; }
.product_coupon strong { color: var(--front_accent); font-size: 1.125rem; }
.product_coupon_note { margin-left: 6px; color: var(--front_muted); }
.product_info { display: grid; gap: 10px; margin-top: 20px; }
.product_info > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.product_info dt { color: var(--front_muted); }
.product_info dd { margin: 0; overflow-wrap: anywhere; }
.product_info dd.is_strike { text-decoration: line-through; }
.product_info_help { display: block; font-size: .8125rem; color: var(--front_muted); }
.product_ship dd { display: grid; gap: 4px; justify-items: start; }
.product_ship_head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; }
.product_ship_badge { font-weight: 700; color: var(--front_primary); }
.product_ship_badge.is_later { color: var(--front_text); }
.product_ship_arrival { color: var(--front_text_soft); }
.product_ship_arrival::before { content: '·'; margin-right: 8px; color: var(--front_muted); }
.product_ship_deadline { margin: 0; color: var(--front_text_soft); }
.product_ship_deadline strong { font-variant-numeric: tabular-nums; color: var(--front_danger); }
.product_ship_fee { margin: 0; }
.product_ship_more { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: .875rem; color: var(--front_muted); }
.product_ship_more:hover { color: var(--front_text); }
.product_buy { margin-top: 24px; }
.product_actions { display: flex; gap: 8px; margin-top: 18px; }
.product_actions .button { flex: 1 1 0; min-width: 0; height: 50px; padding: 0 10px; }
.product_wish { flex: 0 0 50px; height: 50px; padding: 0; font-size: 1.25rem; color: var(--front_text_soft); background: var(--front_surface); border: 1px solid var(--front_border_strong); border-radius: var(--front_radius_small); cursor: pointer; }
.product_wish.is_on { color: var(--front_danger); border-color: var(--front_danger); }
.product_share { justify-content: flex-start; }
.product_share a { display: inline-flex; align-items: center; justify-content: center; width: var(--front_touch); height: var(--front_touch); color: var(--front_text_soft); background: var(--front_surface); border: 1px solid var(--front_border_strong); border-radius: 50%; }
.product_lower { margin-top: 40px; }
.product_tabs { position: sticky; top: var(--front_header_height); z-index: 50; display: flex; background: var(--front_surface); border-bottom: 1px solid var(--front_border); }
.product_tabs a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; font-weight: 600; color: var(--front_text_soft); border-bottom: 3px solid transparent; }
.product_tabs a.is_current { color: var(--front_primary); border-bottom-color: var(--front_primary); }
.product_section { padding-top: 36px; scroll-margin-top: calc(var(--front_header_height) + 60px); }
.product_more { scroll-margin-top: calc(var(--front_header_height) + 60px); }
.qna_item { scroll-margin-top: calc(var(--front_header_height) + 60px); }
.product_section_head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.product_section_head .product_section_title, .product_rail_head .product_section_title { margin-bottom: 0; }
.product_section_title { margin-bottom: 18px; font-size: 1.375rem; font-weight: 700; }
.product_section_title span { color: var(--front_primary); }
.product_description { text-align: center; }


@media (min-width: 1024px) {
	.product_qr { display: flex; }
}

/* ===== 배송 · 교환 안내 ===== */
.product_shipping { overflow-wrap: anywhere; }
.product_shipping h3 { display: flex; align-items: center; gap: 8px; margin: 28px 0 12px; font-size: 1rem; font-weight: 700; }
.product_shipping h3::before { content: ""; flex: 0 0 4px; height: 16px; background: var(--front_primary); border-radius: 2px; }
.product_shipping h3:first-child { margin-top: 0; }
.product_shipping table, .product_shipping tbody, .product_shipping tr, .product_shipping th, .product_shipping td { display: block; width: auto; }
.product_shipping table { border: 0; border-top: 1px solid var(--front_border_strong); }
.product_shipping_panel table { border-top: 0; }
.product_shipping tr { padding: 12px 0; border-bottom: 1px solid var(--front_border); }
.product_shipping tr:last-child { border-bottom: 0; }
.product_shipping th { margin-bottom: 4px; padding: 0; font-weight: 600; text-align: left; color: var(--front_muted); background: none; border: 0; }
.product_shipping td { padding: 0; line-height: 1.65; border: 0; }
.product_shipping h3.is_toggle { margin: 0; border-top: 1px solid var(--front_border); }
.product_shipping h3.is_toggle:first-child { border-top: 0; }
.product_shipping h3.is_toggle::before { display: none; }
.product_shipping_toggle { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0; font: inherit; color: var(--front_text); text-align: left; background: none; border: 0; cursor: pointer; }
.product_shipping_toggle::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin: 0 4px -2px 0; border-right: 2px solid var(--front_text_soft); border-bottom: 2px solid var(--front_text_soft); transform: translateY(-3px) rotate(45deg); transition: transform .2s ease; }
.product_shipping_toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.product_shipping_panel { padding: 0 0 16px; }
.product_shipping_panel > ul { padding-top: 4px; }
.product_shipping ul { margin: 0; padding: 0; }
.product_shipping li { position: relative; padding-left: 14px; list-style: none; }
.product_shipping li::before { content: ""; position: absolute; left: 3px; top: .8em; width: 4px; height: 4px; background: var(--front_muted); border-radius: 50%; }
.product_shipping li + li { margin-top: 6px; }
@media (min-width: 768px) {
	.product_shipping table { display: table; width: 100%; }
	.product_shipping tbody { display: table-row-group; }
	.product_shipping tr { display: table-row; padding: 0; border: 0; }
	.product_shipping th, .product_shipping td { display: table-cell; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--front_border); }
	.product_shipping th { width: 180px; margin: 0; color: var(--front_text_soft); background: var(--front_surface_alt); }
}
@media (prefers-reduced-motion: reduce) {
	.product_shipping_toggle::after { transition: none; }
}

/* ===== 사은품 안내 ===== */
.product_gifts { display: grid; gap: 8px; margin-top: 12px; }
.product_gift { padding: 14px 16px; background: var(--front_success_soft); border-radius: var(--front_radius_small); }
.product_gift_head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.product_gift_head i { color: var(--front_success); }
.product_gift_badge { padding: 0 8px; font-size: .8125rem; color: var(--front_success); border: 1px solid currentColor; border-radius: var(--front_radius_small); }
.product_gift_tiers { display: grid; gap: 2px; margin-top: 6px; }
.product_gift_tiers em { font-style: normal; font-weight: 600; }
.product_gift_out { margin-left: 4px; color: var(--front_muted); text-decoration: line-through; }
.product_gift_note { margin-top: 6px; color: var(--front_muted); }

/* ===== 연관상품 슬라이드 ===== */
.product_rail_head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.product_rail_nav { display: flex; gap: 6px; }
.product_rail.is_static .product_rail_nav { display: none; }
.product_rail_arrow { width: 36px; height: 36px; padding: 0; color: var(--front_text); background: var(--front_surface); border: 1px solid var(--front_border_strong); border-radius: 50%; cursor: pointer; }
.product_rail_arrow:hover:not(:disabled) { color: var(--front_primary); border-color: var(--front_primary); }
.product_rail_arrow:disabled { color: var(--front_border_strong); cursor: default; }
.product_rail_track {
	--product_ratio: 1 / 1;
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2); gap: 12px;
	padding-bottom: 4px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.product_rail_track::-webkit-scrollbar { display: none; }
.product_rail_track > * { min-width: 0; scroll-snap-align: start; }
@media (min-width: 640px) {
	.product_rail_track { --rail_now: min(3, var(--rail_columns, 4)); grid-auto-columns: calc((100% - (var(--rail_now) - 1) * 12px) / var(--rail_now)); }
}
@media (min-width: 1024px) {
	.product_rail_track { --rail_now: var(--rail_columns, 4); grid-auto-columns: calc((100% - (var(--rail_now) - 1) * 20px) / var(--rail_now)); gap: 20px; }
}
.product_description img { height: auto; }
.product_tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.product_tags .chip { color: var(--front_primary); }
.product_detail_image { display: block; max-width: 100%; margin: 0 auto; }
.product_notice { margin-top: 40px; overflow-wrap: anywhere; }
.product_notice_title, .product_notice.editor_content > p:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 12px; font-size: 1rem; font-weight: 700; }
.product_notice_title::before, .product_notice.editor_content > p:first-child::before { content: ""; flex: 0 0 4px; height: 16px; background: var(--front_primary); border-radius: 2px; }
.product_notice table, .product_notice tbody, .product_notice tr, .product_notice th, .product_notice td { display: block; width: auto; }
.product_notice table { border-top: 1px solid var(--front_border_strong); }
.product_notice tr { padding: 12px 4px; border-bottom: 1px solid var(--front_border); }
.product_notice td { padding: 0; background: none; border: 0; }
.product_notice th, .product_notice td:first-child:not(:last-child) { margin-bottom: 4px; padding: 0; font-weight: 600; text-align: left; color: var(--front_text_soft); background: none; }
.product_notice table + .editor_content { margin-top: 16px; }
.product_notice td > div, .product_notice td > p { margin: 0; }
@media (min-width: 768px) {
	.product_notice table { display: table; width: 100%; }
	.product_notice tbody { display: table-row-group; }
	.product_notice tr { display: table-row; padding: 0; border: 0; }
	.product_notice th, .product_notice td { display: table-cell; padding: 12px 16px; vertical-align: top; border-bottom: 1px solid var(--front_border); }
	.product_notice th, .product_notice td:first-child:not(:last-child) { width: 34%; margin: 0; padding: 12px 16px; background: var(--front_surface_alt); }
}
@media (min-width: 1024px) {
	.product_notice th, .product_notice td:first-child:not(:last-child) { width: 280px; }
}
.review_average { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.review_average strong { font-size: 1.75rem; }
.review_tag_summary { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 16px; padding: 0; list-style: none; }
.review_tag_summary li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; color: var(--front_text_soft); background: var(--front_surface_alt); border-radius: var(--front_radius_pill); }
.review_tag_summary strong { color: var(--front_primary); }
.review_tags { margin: 0; padding: 0; border: 0; }
.review_tags legend { margin-bottom: 8px; padding: 0; font-weight: 600; }
.review_tag_picks { display: flex; flex-wrap: wrap; gap: 8px; }
.review_tag_pick { position: relative; }
.review_tag_pick input { position: absolute; opacity: 0; pointer-events: none; }
.review_tag_pick span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; color: var(--front_text_soft); background: var(--front_surface); border: 1px solid var(--front_border_strong); border-radius: var(--front_radius_pill); cursor: pointer; }
.review_tag_pick input:checked + span { color: var(--front_on_primary); background: var(--front_primary); border-color: var(--front_primary); }
.review_tag_pick input:focus-visible + span { outline: 2px solid var(--front_primary); outline-offset: 2px; }
.review_gallery { margin-bottom: 20px; }
.review_gallery_title { margin-bottom: 10px; font-size: 1rem; font-weight: 700; }
.review_gallery_title span { color: var(--front_primary); }
.review_gallery_list { display: grid; grid-auto-flow: column; grid-auto-columns: 88px; gap: 6px; margin: 0; padding: 0 0 4px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.review_gallery_list::-webkit-scrollbar { display: none; }
.review_gallery_item { width: 100%; border: 0; }
.review_gallery_more { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; color: #fff; background: #374151; border-radius: var(--front_radius_small); }
.front .review_gallery_more, .front .review_gallery_more:hover { color: #fff; }
.review_gallery_more img { display: block; width: 100%; height: 100%; object-fit: cover; }
.review_gallery_more span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 600; background: rgba(0, 0, 0, .55); }
.review_gallery_more strong { font-size: 1.125rem; }
@media (min-width: 768px) {
	.review_gallery_list { grid-auto-flow: row; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; overflow: visible; }
}
.review_write { margin-bottom: 20px; }
.review_write summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; font-weight: 700; cursor: pointer; }
.review_form { display: grid; gap: 16px; padding: 4px 20px 20px; }
.front_layer .review_form { padding: 0; }
.review_gate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; padding: 14px 18px; color: var(--front_text_soft); background: var(--front_surface_alt); border-radius: var(--front_radius_small); }
.review_list, .qna_list { border-top: 2px solid var(--front_text); }
.qna_item { border-bottom: 1px solid var(--front_border); }
.qna_item summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 60px; padding: 12px 8px; cursor: pointer; list-style: none; }
.qna_item summary::-webkit-details-marker { display: none; }
.qna_item_title { flex: 1 1 200px; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.qna_item_meta { font-size: .8125rem; color: var(--front_muted); }
.qna_item_body { display: grid; gap: 12px; padding: 4px 8px 20px; }
.qna_item_q, .qna_item_a { display: flex; gap: 12px; }
.qna_item_q b, .qna_item_a b { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: .8125rem; color: var(--front_on_primary); background: var(--front_primary); border-radius: 50%; }
.qna_item_a { padding: 14px; background: var(--front_surface_alt); border-radius: var(--front_radius_small); }
.qna_item_a b { color: var(--front_primary); background: var(--front_primary_soft); }
.qna_item_a .editor_content { flex: 1 1 auto; min-width: 0; }
.qna_item_locked { color: var(--front_muted); }
.qna_item_actions { display: flex; gap: 6px; }
.qna_item_actions form { display: inline-flex; }
.product_consult_box { max-width: 520px; }
.product_consult_box .agree_box { padding: 6px 16px; }
.product_consult_box .agree_more > summary, .product_consult_box .agree_check { min-height: 36px; }
.product_consult_box .agree_more[open] > summary { margin-bottom: 6px; }
.product_consult_box .agree_check { margin-top: 0; }
.product_consult_box .post_actions { margin-top: 0; }
@media (min-width: 1024px) {
	.product_page { padding-top: 20px; }
	.product_top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
	.product_gallery { position: sticky; }
	.product_title { font-size: 1.75rem; }
	.product_price_sale strong { font-size: 2rem; }
	.product_price_off { font-size: 1.75rem; }
	.product_coupon { flex-direction: row; align-items: center; }
	.product_actions .button { height: 52px; padding: 0 26px; font-size: 1rem; }
	.product_wish { flex-basis: 52px; height: 52px; }
	.product_lower { margin-top: 56px; }
	.product_tabs a { min-height: 54px; font-size: 1rem; }
	.product_section { padding-top: 48px; }
}
.product_preview_note { margin-bottom: 16px; }

/* ===== 네이버페이 ===== */
.naverpay_box { margin-top: 12px; }
.naverpay_button { min-width: 200px; height: 150px; }
.naverpay_error { margin-top: 6px; }

/* ===== 재입고 알림 ===== */
.product_restock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.product_restock .fa-bell { color: var(--front_primary); }

/* ===== 상세정보 더보기 ===== */
.product_more.is_folded { position: relative; max-height: var(--more_height, 1500px); overflow: hidden; }
.product_more.is_folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(rgba(255, 255, 255, 0), var(--front_background)); pointer-events: none; }
.product_more_toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 420px; min-height: 52px; margin: 20px auto 0; padding: 0 20px; font: inherit; font-weight: 700; color: var(--front_primary); background: var(--front_background); border: 1px solid var(--front_primary); border-radius: var(--front_radius_small); cursor: pointer; }
.product_more_toggle[hidden] { display: none; }
.product_more_toggle[aria-expanded="true"] i { transform: rotate(180deg); }

/* ===== 최대혜택가 ===== */
.product_benefit { margin-top: 14px; overflow: hidden; background: var(--front_surface); border: 1px solid var(--front_accent); border-radius: var(--front_radius_small); }
.product_benefit summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; cursor: pointer; list-style: none; }
.product_benefit summary::-webkit-details-marker { display: none; }
.product_benefit_label { font-size: .875rem; font-weight: 600; color: var(--front_accent); }
.product_benefit summary strong { margin-left: auto; font-size: 1.125rem; font-weight: 800; color: var(--front_accent); }
.product_benefit summary strong span { margin-left: 1px; font-size: .875rem; font-weight: 600; }
.product_benefit summary i { font-size: .75rem; color: var(--front_accent); transition: transform .2s ease; }
.product_benefit[open] summary i { transform: rotate(180deg); }
.product_benefit_rows { display: grid; gap: 6px; margin: 0; padding: 12px 14px; font-size: .875rem; border-top: 1px solid var(--front_border); }
.product_benefit_rows > div { display: flex; justify-content: space-between; gap: 12px; }
.product_benefit_rows dt { min-width: 0; color: var(--front_text_soft); overflow-wrap: anywhere; }
.product_benefit_rows dd { margin: 0; font-weight: 600; white-space: nowrap; }
.product_benefit_rows .is_minus dd { color: var(--front_accent); }
.product_benefit_rows .is_total { margin-top: 4px; padding-top: 8px; border-top: 1px dashed var(--front_border_strong); font-weight: 700; }
.product_benefit_rows .is_total dt { color: var(--front_text); }
.product_benefit_note { padding: 0 14px 12px; font-size: .8125rem; color: var(--front_muted); }

/* ===== 구매 칸 따라오기 ===== */
.product_side { display: none; }
.product_buy_bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 880; padding: 10px var(--front_gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--front_surface); border-top: 1px solid var(--front_border); box-shadow: 0 -6px 20px rgba(16, 24, 40, .08); }
.product_buy_bar[hidden] { display: none; }
.is_keyboard .product_buy_bar:not(:focus-within) { visibility: hidden; }
.is_keyboard .product_buy_bar:focus-within { bottom: var(--keyboard_height); }
.is_keyboard .product_buy_bar:focus-within .product_buy_sheet { max-height: calc(var(--view_height) - 150px); }
.product_buy_bar.is_open { border-radius: var(--front_radius) var(--front_radius) 0 0; box-shadow: 0 -10px 30px rgba(16, 24, 40, .16); }
.product_buy_bar_actions { display: flex; gap: 8px; }
.product_buy_bar_actions .button { flex: 1 1 0; }
.product_buy_sheet { max-height: min(60vh, 520px); margin: 0 calc(var(--front_gutter) * -1) 12px; padding: 0 var(--front_gutter) 4px; overflow-y: auto; overscroll-behavior: contain; }
.product_buy_sheet[hidden] { display: none; }
.product_buy_sheet_head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 4px 0 8px; background: var(--front_surface); border-bottom: 1px solid var(--front_border); }
.product_buy_sheet_close { width: 40px; height: 40px; margin-right: -10px; padding: 0; font-size: 1.125rem; color: var(--front_text_soft); background: none; border: 0; cursor: pointer; }
.product_buy_sheet .product_lines { margin-top: 12px; }
.product_buy_sheet .product_lines:empty { display: none; }
.product_buy_sheet_total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; color: var(--front_text_soft); }
.product_buy_sheet_total strong { margin-left: auto; font-size: 1.25rem; font-weight: 800; color: var(--front_primary); }
.product_buy_sheet .field_error { margin-top: 8px; }
@media (max-width: 1279.98px) {
	body.has_buy_bar .site_footer { padding-bottom: 76px; }
	body.has_buy_bar .site_fab { bottom: 88px; }
	body.has_buy_bar .site_bottom_band { display: none; }
}
@media (min-width: 1280px) {
	.product_lower.has_side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 40px; }
	.product_side { position: sticky; top: calc(var(--front_header_height) + 16px); display: block; }
	.product_side_box { display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - var(--front_header_height) - 32px); padding: 20px; overflow-y: auto; overscroll-behavior: contain; background: var(--front_surface); border: 1px solid var(--front_border); border-radius: var(--front_radius); box-shadow: var(--front_shadow); }
	.product_side_box > * { flex-shrink: 0; }
	.product_side_name { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 700; line-height: 1.45; }
	.product_side_price { color: var(--front_text_soft); }
	.product_side_price strong { font-size: 1.25rem; color: var(--front_text); }
	.product_side_options:empty { display: none; }
	.product_side_lines { flex: 0 1 auto; min-height: 0; max-height: 23.5rem; margin-top: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
	.product_side_lines:has(> :nth-child(2)) { min-height: 7.5rem; scroll-snap-type: y mandatory; }
	.product_side_lines > * { scroll-snap-align: start; }
	.product_side_lines::-webkit-scrollbar { display: none; }
	.product_side_lines:empty { display: none; }
	.product_side_lines .product_line { padding: 10px 12px; }
	.product_side_total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--front_border); color: var(--front_text_soft); }
	.product_side_total strong { margin-left: auto; font-size: 1.375rem; font-weight: 800; color: var(--front_primary); }
	.product_side_actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.product_buy_bar, .product_buy_bar[hidden] { display: none; }
}
