/* Desktop storefront. Shared mobile components remain unchanged. */
body.pc-body {
	--pc-primary: #1478f2;
	--pc-muted: #687487;
	--pc-line: #e1e6ed;
	--pc-bg: #f6f7f9;
	--mall-page-max: none;
	--mall-safe-bottom: 0px;
	max-width: none;
	min-height: 100vh;
	margin: 0;
	display: flex;
	flex-direction: column;
	background: var(--pc-bg);
	box-shadow: none;
	color: #242b36;
	font-size: 14px;
}
.pc-body a, .pc-body button, .pc-body input { touch-action: manipulation; }
.pc-body :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--pc-primary); outline-offset: 3px; }
.pc-body .btn-primary { --bs-btn-bg: #1478f2; --bs-btn-border-color: #1478f2; --bs-btn-hover-bg: #0761cf; --bs-btn-hover-border-color: #0761cf; }
.pc-body .btn-outline-primary { --bs-btn-color: #1478f2; --bs-btn-border-color: #1478f2; --bs-btn-hover-bg: #1478f2; --bs-btn-hover-border-color: #1478f2; }
.pc-body .mall-page { width: 100%; max-width: none; min-height: 0; padding: 0; margin: 0; border: 0; }
.pc-body .mall-content { width: 100%; max-width: none; margin: 0; padding: 0; }
.pc-body .mall-card { box-shadow: none; border-radius: 8px; }
.pc-body .mall-empty { grid-column: 1 / -1; min-height: 320px; }
.pc-body :is(input, select, textarea) { accent-color: var(--pc-primary); }
.pc-body :is(.goods-option-list, .checkout-delivery) input:focus-visible + span,
.pc-body .account-gender input:focus-visible + b { outline: 2px solid var(--pc-primary); outline-offset: 3px; }

.pc-topnav { position: sticky; top: 0; z-index: 1020; background: #fff; border-bottom: 1px solid var(--pc-line); }
.pc-topnav-inner { max-width: 1440px; min-height: 76px; padding: 12px 32px; margin: auto; display: flex; align-items: center; gap: 32px; }
.pc-brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 260px; font-size: 19px; font-weight: 700; }
.pc-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 6px; flex: none; }
.pc-brand span { max-width: 320px; overflow-wrap: anywhere; line-height: 1.35; }
.pc-nav-links { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pc-nav-links a { display: flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 6px; font-weight: 500; }
.pc-nav-links :is(a.active, a:hover) { color: var(--pc-primary); background: #edf5ff !important; }
.pc-nav-tools { display: flex; align-items: center; gap: 20px; flex-shrink: 0; margin-left: auto; }
.pc-nav-cart { position: relative; display: grid; place-items: center; width: 40px; height: 40px; font-size: 24px; flex: none; }
.pc-nav-cart[aria-current] { color: var(--pc-primary); }
.pc-nav-cart .cart-count { top: 0; right: -5px; }
.pc-user-link { display: flex; align-items: center; gap: 8px; }
.pc-user-link i { font-size: 22px; color: var(--pc-muted); }
.pc-user-link span { display: block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-language .dropdown-toggle > span { max-width: 144px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-language .dropdown-menu { max-height: min(480px, calc(100vh - 96px)); overflow-y: auto; }
.pc-language .dropdown-item.active { background: var(--pc-primary) !important; color: #fff; }
.pc-container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 32px 48px; flex: 1; }
.pc-main-content, .pc-main-layout { min-width: 0; }
.pc-page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--pc-line); }
.pc-page-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pc-page-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 6px; background: #e6f0ff; color: #0864cf; font-size: 21px; }
.pc-page-head h1 { margin: 0; font-size: 23px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
.pc-page-head nav { min-width: 0; max-width: 100%; }
.pc-page-head .breadcrumb { gap: 4px 0; font-size: 13px; line-height: 1.6; }
.pc-page-head .breadcrumb-item { min-width: 0; overflow-wrap: anywhere; color: var(--pc-muted); }
.pc-page-head .breadcrumb-item a { color: var(--pc-muted); }
.pc-page-head .breadcrumb-item a:hover { color: var(--pc-primary); }
.pc-page-head .breadcrumb-item + .breadcrumb-item::before { color: #a5afbd; }
.pc-footer { flex-shrink: 0; border-top: 1px solid var(--pc-line); background: #fff; color: var(--pc-muted); }
.pc-footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 28px 56px; max-width: 1440px; margin: auto; padding: 36px 32px; font-size: 14px; }
.pc-footer-about { flex: 1 1 420px; min-width: 0; max-width: 760px; }
.pc-footer-brand { display: inline-flex; align-items: center; gap: 16px; max-width: 100%; color: #242b36; }
.pc-footer-brand img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.pc-footer-brand span { min-width: 0; font-size: 20px; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.pc-footer-brand:hover { color: var(--pc-primary); }
.pc-footer-intro { margin: 16px 0 0; line-height: 1.85; white-space: pre-line; overflow-wrap: anywhere; }
.pc-footer-contact { display: flex; align-items: flex-start; gap: 14px; flex: 0 1 300px; min-width: 0; max-width: 100%; padding: 6px 0 6px 28px; border-left: 1px solid var(--pc-line); }
.pc-footer-contact-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 6px; background: #edf5ff; color: var(--pc-primary); font-size: 22px; }
.pc-footer-contact > div { min-width: 0; }
.pc-footer-contact h2 { margin: 0 0 8px; font-size: 13px; font-weight: 500; line-height: 1.5; }
.pc-footer-contact a { color: #0864cf; font-size: 18px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.pc-footer-contact a:hover { text-decoration: underline; }
.pc-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }

/* Home: merchant identity, search, then products. */
.pc-store-heading { display: flex; align-items: center; gap: 16px; padding: 4px 0 28px; border-bottom: 1px solid var(--pc-line); margin-bottom: 28px; }
.pc-store-heading > img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; flex: none; }
.pc-store-heading > div { min-width: 0; flex: 1; }
.pc-brand-title { font-size: 26px; font-weight: 650; margin: 0 0 8px; overflow-wrap: anywhere; }
.pc-brand-phone { display: flex; align-items: center; gap: 8px; color: var(--pc-muted); margin: 0; }
.pc-home-search { width: 420px; flex-shrink: 0; }
.pc-home-search .form-control { min-height: 44px; }
.pc-banner { margin-bottom: 28px; }
.pc-banner .carousel-item { height: clamp(120px, 24vw, 300px); }
.pc-banner .carousel-item img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* Override the shared .active highlight only within the carousel. */
.pc-banner .carousel-item.active { background-color: transparent !important; }
.pc-banner .carousel-indicators [data-bs-target] { background-color: var(--pc-primary) !important; }
.pc-goods-section { margin-bottom: 32px; }
.pc-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pc-section-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 19px; font-weight: 650; }
.pc-section-head .bi { color: var(--pc-primary); }
.pc-more { display: inline-flex; align-items: center; gap: 6px; color: var(--pc-muted); font-size: 13px; flex-shrink: 0; }
.pc-more:hover { color: var(--pc-primary); }
.pc-goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 18px; }
.pc-goods-card { min-width: 0; overflow: hidden; border: 1px solid var(--pc-line); border-radius: 8px; background: #fff; transition: border-color .15s; }
.pc-goods-card:hover, .pc-body .catalog-product:hover { border-color: #95bbeb; }
.pc-goods-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pc-goods-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 12px 14px 0; font-weight: 500; }
.pc-goods-price { padding: 8px 14px 14px; font-size: 17px; font-weight: 650; color: var(--pc-primary); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* Catalog: page scrolling with an independently scrollable category sidebar. */
.pc-body .catalog-page { display: block; height: auto; overflow: visible; scroll-margin-top: 96px; }
.pc-body .catalog-search { max-width: 720px; margin: 0 0 20px; box-shadow: none; }
.pc-body .catalog-search button { background: var(--pc-primary); color: #fff; padding: 0 24px; border-radius: 0 6px 6px 0; }
.pc-body .catalog-special-tabs { padding: 0; background: transparent; margin-bottom: 24px; gap: 20px; overflow: visible; flex-wrap: wrap; }
.pc-body .catalog-special-tabs button { padding: 10px 4px 12px; border-bottom: 2px solid transparent; font-size: 14px; }
.pc-body .catalog-special-tabs button.active { border-bottom-color: var(--pc-primary); }
.pc-body .catalog-body { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.pc-body .catalog-categories { position: sticky; top: 100px; max-height: calc(100vh - 124px); min-width: 0; background: transparent; border-right: 1px solid var(--pc-line); padding: 0 14px 4px 4px; scrollbar-width: thin; scrollbar-gutter: stable; }
.pc-body .catalog-categories h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; padding: 10px; font-size: 14px; font-weight: 650; color: var(--pc-muted); }
.pc-body .catalog-categories h2 > i { color: var(--pc-primary); font-size: 16px; }
.pc-body .catalog-categories .catalog-category-link { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; min-height: 42px; padding: 10px; border: 0; border-radius: 5px; margin: 3px 0; background: transparent; color: #424e60; text-align: left; font-size: 14px; line-height: 1.5; cursor: pointer; }
.pc-body .catalog-categories .catalog-category-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pc-body .catalog-categories .catalog-category-link:hover { background: #eaf0f7; color: #0864cf; }
.pc-body .catalog-categories .catalog-category-link.is-ancestor { color: #0864cf; font-weight: 600; }
.pc-body .catalog-categories .catalog-category-link.active { background: var(--pc-primary) !important; color: #fff; font-weight: 600; }
.pc-body .catalog-categories .catalog-category-all { margin-bottom: 10px; }
.pc-body .catalog-category-children { margin: 2px 0 6px 14px; padding-left: 10px; border-left: 1px solid #d5dfeb; }
.pc-body .catalog-categories [data-category-level="1"] { font-weight: 600; }
.pc-body .catalog-categories [data-category-level="3"] { font-size: 13px; min-height: 38px; }
.pc-body .catalog-categories details > summary > .bi { position: static; flex: none; font-size: 10px; transform: none; transition: transform .15s; }
.pc-body .catalog-categories details[open] > summary > .bi-chevron-down { transform: rotate(180deg); }
.pc-body .catalog-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 18px; padding: 0; overflow: visible; background: transparent; align-content: start; }
.pc-body .catalog-product { display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--pc-line); background: #fff; }
.pc-body .catalog-product-image { aspect-ratio: auto; overflow: visible; }
.pc-body .catalog-product-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.pc-body .catalog-product-image > div { position: static; background: transparent; color: #242b36; padding: 12px 14px 0; text-align: left; font-size: 14px; font-weight: 500; }
.pc-body .catalog-product-info { flex: 1; padding: 10px 14px 14px; gap: 8px; min-height: 104px; }
.pc-body .catalog-product-info strong { font-size: 17px; overflow-wrap: anywhere; }
.pc-body .catalog-product-info > span { font-size: 12px; }
.pc-body .catalog-product-stepper { display: flex; align-items: center; gap: 0; justify-content: flex-end; width: 100%; margin-top: auto; min-height: 32px; }
.pc-body .catalog-product-stepper button { display: grid; place-items: center; width: 32px; height: 32px; background: #fff; color: var(--pc-primary); border: 0; padding: 0; font-size: 26px; }
.pc-body .catalog-stepper-input { width: 64px; height: 30px; border: 1px solid var(--pc-line); border-radius: 4px; text-align: center; color: #242b36; }
.pc-body .catalog-product-select-spec { align-self: flex-end; margin-top: auto; }
.pc-body .catalog-pagination { grid-column: 1 / -1; grid-template-columns: 38px 100px 38px; justify-content: center; gap: 16px; padding: 16px 0 0; }
.pc-body .catalog-pagination a { background: #fff; }

/* Product detail: inspect images and choose variants without leaving the page. */
body.pc-product-body { background: #fff; }
.pc-product-body .pc-page-head { margin-bottom: 32px; }
.pc-body .goods-detail-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px 56px; align-items: start; max-width: 1200px; margin: 0 auto; }
.pc-gallery { min-width: 0; }
.pc-gallery-main { position: relative; background: #fff; border: 1px solid var(--pc-line); border-radius: 6px; overflow: hidden; }
.pc-gallery-main img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.pc-gallery-preview { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--pc-line); background: #fff; color: #424e60; font-size: 18px; }
.pc-gallery-thumbs { display: flex; gap: 10px; padding: 14px 2px 2px; overflow-x: auto; }
.pc-gallery-thumbs button { width: 64px; height: 64px; flex-shrink: 0; border: 1px solid var(--pc-line); border-radius: 5px; padding: 4px; background: #fff; }
.pc-gallery-thumbs button[aria-pressed="true"] { border-color: var(--pc-primary); box-shadow: inset 0 0 0 1px var(--pc-primary); }
.pc-gallery-thumbs button:hover { border-color: var(--pc-primary); }
.pc-gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pc-body .goods-detail-content-wrap { width: 100%; max-width: none; margin: 0; padding: 0; gap: 0; min-width: 0; }
.pc-body .goods-summary { display: grid; gap: 20px; padding: 0 0 24px; border-bottom: 1px solid var(--pc-line); }
.pc-body .goods-summary h2 { font-size: 26px; font-weight: 650; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.goods-price-strip { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 12px; padding: 20px; background: #f0f6ff; }
.goods-price-label { color: var(--pc-muted); font-size: 13px; }
.pc-body .goods-summary-line { justify-content: flex-start; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; min-width: 0; }
.pc-body .goods-summary-line strong { color: #0864cf; font-size: 30px; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.pc-body .goods-stock-line { display: flex; align-items: center; gap: 8px; margin: 0; color: #576575; font-size: 13px; }
.pc-body .goods-stock-line > .bi { color: #688c79; font-size: 17px; }
.pc-body .goods-option-section { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; padding: 20px 0 0; border: 0; background: transparent; }
.pc-body .goods-option-section > h3 { margin: 0; padding-top: 10px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--pc-muted); overflow-wrap: anywhere; }
.pc-body .goods-option-section > p { margin: 0; padding-top: 10px; font-size: 14px; line-height: 1.5; color: #242b36; overflow-wrap: anywhere; }
.goods-spec-fields { min-width: 0; }
.pc-body .goods-spec-group > p { font-size: 12px; color: var(--pc-muted); margin: 0 0 8px; overflow-wrap: anywhere; }
.pc-body .goods-option-list { gap: 10px; }
.pc-body .goods-option-list > .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 64px; max-width: 100%; padding: 8px 16px; margin: 0; border: 1px solid #d5dde7; border-radius: 5px; background: #fff; color: #424e60; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.pc-body .goods-option-list > .btn:hover { color: #0864cf; border-color: #81b3f0; background: #f7faff; }
.pc-body .goods-option-list > .btn-check:checked + .btn { color: #0864cf; border-color: var(--pc-primary); background: #edf5ff; box-shadow: inset 0 0 0 1px var(--pc-primary); font-weight: 600; }
.pc-body .goods-option-list > .btn-check:focus-visible + .btn { outline: 2px solid var(--pc-primary); outline-offset: 3px; }
.pc-body .goods-detail-actions { position: static; width: 100%; max-width: none; margin: 24px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--pc-line); background: transparent; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; z-index: auto; }
.goods-quantity-row { grid-column: 1 / -1; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; }
.goods-quantity-row > label { color: var(--pc-muted); font-size: 14px; overflow-wrap: anywhere; }
.pc-body .goods-quantity-stepper { width: 156px; height: 42px; border-radius: 5px; grid-template-columns: 40px minmax(0, 1fr) 40px; }
.pc-body .goods-quantity-stepper button { background: #f7f9fc; color: #4d6078; }
.pc-body .goods-quantity-stepper button:hover { color: var(--pc-primary); background: #edf5ff; }
.pc-body .goods-quantity-stepper input { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pc-body .goods-detail-actions > .btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-size: 15px; padding: 10px 16px; line-height: 1.5; border-radius: 5px; }
.pc-body .goods-detail-actions > .btn span { min-width: 0; overflow-wrap: anywhere; }
.pc-body .goods-detail-actions > .btn i { margin: 0; flex: none; font-size: 19px; }
.pc-body .goods-description { grid-column: 1 / -1; margin-top: 8px; padding: 0; border: 0; border-top: 1px solid var(--pc-line); background: transparent; overflow-wrap: anywhere; }
.pc-body .goods-description h3 { display: inline-block; margin: -1px 0 28px; padding: 20px 0 14px; border-top: 3px solid var(--pc-primary); color: #242b36; font-size: 18px; }
.goods-description-content { max-width: 960px; margin: 0 auto; font-size: 15px; line-height: 1.85; overflow-x: auto; }
.pc-body .goods-description :is(img, video, table) { max-width: 100%; }
.goods-image-viewer .modal-header { gap: 20px; }
.goods-image-viewer .modal-title { min-width: 0; overflow-wrap: anywhere; }
.goods-image-viewer .modal-body { display: grid; place-items: center; padding: 16px; }
.goods-image-viewer .modal-body img { display: block; max-width: 100%; width: auto; height: auto; max-height: calc(100vh - 160px); object-fit: contain; }

/* Cart rows and a persistent order summary. */
.pc-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.pc-cart-layout > form { min-width: 0; }
.pc-cart-head, .pc-body .pc-cart-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(85px, .55fr) 126px minmax(85px, .55fr) 36px; align-items: center; gap: 16px; padding: 18px 16px; }
.pc-cart-head { color: var(--pc-muted); background: #edf0f4; border-radius: 6px 6px 0 0; font-size: 13px; }
.pc-cart-head > :not(:first-child) { text-align: center; }
.pc-body .pc-cart-row { border-bottom: 1px solid var(--pc-line); background: #fff; }
.pc-cart-product { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pc-cart-product img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.pc-cart-product div { min-width: 0; }
.pc-cart-product h2 { font-size: 14px; line-height: 1.5; font-weight: 600; margin: 0 0 6px; overflow-wrap: anywhere; }
.pc-cart-product p { font-size: 12px; color: var(--pc-muted); margin: 0; overflow-wrap: anywhere; }
.pc-cart-row > strong { font-size: 14px; font-variant-numeric: tabular-nums; text-align: center; overflow-wrap: anywhere; }
.pc-body .cart-stepper { display: inline-grid; grid-template-columns: 32px 60px 32px; gap: 0; width: 126px; border: 1px solid var(--pc-line); border-radius: 5px; overflow: hidden; }
.pc-body .cart-stepper-button { font-size: 18px; width: 32px; height: 34px; background: #f8fafc; }
.pc-body .cart-stepper-input { width: 60px; min-width: 0; height: 34px; border: 0; border-radius: 0; }
.pc-body input[type=number] { -moz-appearance: textfield; }
.pc-body input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pc-cart-summary { position: sticky; top: 100px; background: #fff; padding: 24px; border: 1px solid var(--pc-line); border-radius: 8px; }
.pc-cart-summary h2 { font-size: 18px; margin: 0 0 24px; }
.pc-summary-total { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; padding-top: 20px; border-top: 1px solid var(--pc-line); }
.pc-summary-total strong { color: var(--pc-primary); font-size: 25px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.pc-cart-summary .btn { min-height: 44px; }

/* Checkout and order documents. */
.pc-body .checkout-form { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; max-width: none; align-items: start; }
.pc-body .checkout-goods { background: #fff; border: 0; border-radius: 0; }
.pc-body .checkout-goods h2 { padding: 18px; font-size: 17px; background: #edf0f4; }
.pc-body .checkout-goods-item { padding: 18px; grid-template-columns: 64px minmax(0, 1fr) minmax(90px, auto); gap: 16px; }
.pc-body .checkout-goods-item img { width: 64px; height: 64px; object-fit: contain; }
.pc-body .checkout-goods-item div > strong { white-space: normal; font-size: 14px; }
.pc-body .checkout-goods-item > b { max-width: 180px; overflow-wrap: anywhere; text-align: right; }
.pc-body .checkout-total { display: block; padding: 18px; }
.pc-body .checkout-total > :is(div, p) { margin-bottom: 10px; }
.pc-checkout-aside { position: sticky; top: 100px; min-width: 0; }
.pc-body .checkout-fields { padding: 0 20px; background: #fff; border: 1px solid var(--pc-line); }
.pc-body .checkout-fields :is(label, .checkout-delivery) { min-width: 0; }
.pc-body .checkout-fields :is(input[type=text], input[type=date]) { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #d7dee8; border-radius: 5px; background: #fff; }
.pc-body #delivery-address { display: grid; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--pc-line); }
.pc-body #delivery-address label { display: grid; gap: 8px; }
.pc-body .checkout-submit-bar { position: static; width: 100%; max-width: none; margin: 20px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--pc-line); background: transparent; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; z-index: auto; }
.pc-body .checkout-submit-bar div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pc-body .checkout-submit-bar strong { overflow-wrap: anywhere; font-size: 24px; }
.pc-body .checkout-submit-bar button { min-height: 46px; padding: 10px; }
.pc-body :is(.pc-result-page, .pc-payment-page) { max-width: 780px; margin: 0 auto; }
.pc-body .pc-result-page > .container, .pc-body .pc-payment-page > .container { padding: 24px 36px !important; background: #fff; }
.pc-body .pc-result-page .display-4 { font-size: 48px; }
.pc-body .pc-result-page dl { border: 0 !important; background: #f7f9fc !important; }

/* Account center. Flat work areas and compact, independently framed list items. */
.pc-account-layout { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 28px; align-items: start; }
.pc-account-sidebar { position: sticky; top: 100px; padding: 8px 16px 8px 0; border-right: 1px solid var(--pc-line); }
.pc-account-sidebar .nav-link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 14px; color: #4a5567; border-radius: 6px; margin-bottom: 4px; }
.pc-account-sidebar .nav-link.active { background: #e6f0ff !important; color: #0864cf; font-weight: 600; }
.pc-account-sidebar .nav-link:hover { background: #edf2f8; color: var(--pc-primary); }
.pc-account-sidebar .bi { font-size: 18px; }
.pc-account-tabs { display: flex; flex-wrap: wrap; gap: 4px 22px; border-bottom: 1px solid var(--pc-line); }
.pc-account-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 0; border-bottom: 2px solid transparent; color: var(--pc-muted); font-size: 14px; }
.pc-account-tabs a:hover { color: #0864cf; }
.pc-account-tabs a.active { color: #0864cf; font-weight: 600; background: transparent !important; border-bottom-color: var(--pc-primary); }
.pc-account-tabs .bi { font-size: 17px; }
.pc-account-layout > .pc-main-content { min-height: 540px; padding: 28px 32px; background: #fff; }
.pc-account-layout .account-page { background: transparent; }
.pc-account-layout :is(a, button, input):focus-visible { outline: 2px solid var(--pc-primary); outline-offset: 3px; }
.pc-account-layout .btn { min-height: 42px; padding: 9px 16px; font-size: 14px; }
.pc-account-layout .btn-primary { background: var(--pc-primary); border-color: var(--pc-primary); }
.pc-account-layout .btn-outline-primary { color: #0864cf; border-color: #b5cfee; }
.pc-account-layout .btn-outline-primary:hover { color: #fff; background: var(--pc-primary); border-color: var(--pc-primary); }
.pc-account-layout .mall-empty { grid-column: 1 / -1; min-height: 300px; justify-content: center; }
.pc-body .mine-hero { padding: 0 0 28px; background: transparent; color: #242b36; border-bottom: 1px solid var(--pc-line); }
.pc-profile-summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pc-profile-summary > .btn { flex: none; }
.pc-body .mine-account { flex: 1 1 auto; min-width: 0; max-width: none; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; color: #242b36; }
.pc-body .mine-account > :is(img, span) { flex: 0 0 72px; width: 72px; height: 72px; background: #e6f0ff; color: var(--pc-primary); font-size: 36px; }
.pc-body .mine-account strong { font-size: 22px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.pc-body .mine-account small { margin-top: 5px; color: var(--pc-muted); white-space: normal; overflow-wrap: anywhere; }
.pc-body .mine-content { margin: 0; padding: 28px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.pc-body :is(.mine-orders, .mine-section, .mine-stats) { border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.pc-body .mine-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-body .mine-stat { min-width: 0; min-height: 112px; align-items: flex-start; justify-content: center; gap: 8px; padding: 20px 24px; border: 1px solid #dfe8e4; border-radius: 6px; }
.pc-body .mine-stat strong { font-size: 28px; line-height: 1.2; overflow-wrap: anywhere; }
.pc-body .mine-stat span { color: #586577; }
.pc-body .pc-stat-points { background: #fffcf3; border-color: #ece2c6; color: #916115; }
.pc-body .pc-stat-coupons { background: #f2faf7; color: #12715d; }
.pc-body .pc-stat-coupons:hover { border-color: #72b39f; }
.pc-body .mine-section-head { min-height: 28px; gap: 16px; }
.pc-body .mine-section-head h2 { font-size: 17px; font-weight: 600; line-height: 1.5; }
.pc-body .mine-section-head > span { color: var(--pc-muted); }
.pc-body .mine-section-head .bi { margin-right: 8px; }
.pc-body .mine-order-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: transparent; padding: 0; margin-top: 18px; }
.pc-body .mine-order-links > a { min-width: 0; min-height: 100px; justify-content: center; gap: 10px; padding: 16px 8px; border: 1px solid var(--pc-line); border-radius: 6px; background: #fff; color: #3e495b; }
.pc-body .mine-order-links > a:hover { border-color: #9ac4f5; background: #f6faff; color: #0864cf; }
.pc-body .mine-order-links > a:nth-child(1) .bi { color: #ac7817; }
.pc-body .mine-order-links > a:nth-child(3) .bi { color: #147f98; }
.pc-body .mine-order-links > a:nth-child(4) .bi { color: #278465; }
.pc-body .mine-order-links span { white-space: normal; overflow-wrap: anywhere; }
.pc-body .mine-notice { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 16px; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--pc-line); }
.pc-body .mine-notice > span { display: block; white-space: normal; overflow-wrap: anywhere; line-height: 1.7; }
.pc-body .mine-notice > .bi:first-child { color: #8190a3; font-size: 20px; }
.pc-body .mine-notice.unread > .bi:first-child { color: var(--pc-primary); }
.pc-body .mine-notice.unread > span { font-weight: 600; }
.pc-body .mine-notice > .bi:last-child { color: #9aa5b4; font-size: 13px; }
.pc-body .mine-notice time { color: var(--pc-muted); white-space: nowrap; }
.pc-account-layout .status-chip { display: inline-block; width: fit-content; max-width: 100%; padding: 4px 8px; font-size: 12px; line-height: 1.4; font-weight: 500; white-space: normal; }
.pc-body :is(.mine-notice, .notice-card) .status-chip { margin-right: 8px; vertical-align: middle; }
.pc-body .account-menu { gap: 0; max-width: 840px; margin: 0 auto; }
.pc-body .account-profile-link { grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 20px; border: 0; border-radius: 0; background: transparent; padding: 0 0 28px; border-bottom: 1px solid var(--pc-line); }
.pc-body .account-profile-link > :is(img, span) { width: 72px; height: 72px; flex: 0 0 72px; font-size: 36px; background: #e6f0ff; }
.pc-body .account-profile-link strong { font-size: 22px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
.pc-body .account-profile-link small { white-space: normal; overflow-wrap: anywhere; }
.pc-body .account-profile-link > .bi { margin-left: auto; color: var(--pc-primary); font-size: 20px; }
.pc-body .account-menu-list { display: block; border: 0; border-radius: 0; background: transparent; }
.pc-body .account-menu-list a { display: grid; grid-template-columns: 40px minmax(140px, 1fr) minmax(0, 1.4fr) 16px; align-items: center; gap: 16px; min-height: 80px; padding: 18px 4px; border-bottom: 1px solid var(--pc-line); }
.pc-body .account-menu-list a:hover { background: #f8fbff; }
.pc-body .account-menu-list a > .bi:first-child { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; color: #0864cf; background: #edf5ff; font-size: 20px; }
.pc-body .account-menu-list a > span { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.pc-body .account-menu-list small { min-width: 0; color: var(--pc-muted); text-align: right; font-size: 14px; overflow-wrap: anywhere; }
.pc-account-session { padding-top: 28px; }
.pc-form-toolbar { margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--pc-line); }
.pc-form-toolbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--pc-muted); font-size: 14px; }
.pc-form-toolbar a:hover { color: #0864cf; }
.pc-body .account-form { max-width: 560px; display: grid; gap: 22px; margin: 32px auto 12px; }
.pc-form-row { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; margin: 0; }
.pc-form-row > :is(label, .pc-form-label), .pc-gender-field legend { color: #495569; font-size: 14px; font-weight: 500; line-height: 1.5; }
.pc-form-row > label { margin: 0; }
.pc-form-row .form-control { min-width: 0; min-height: 46px; font-size: 15px; border-color: #d5dde8; background-color: #fff; border-radius: 6px; }
.pc-form-row .form-control:focus { border-color: #69a7ef; box-shadow: 0 0 0 3px #1478f21a; }
.pc-form-row .input-group { min-width: 0; flex-wrap: nowrap; border: 1px solid #d5dde8; border-radius: 6px; background: #fff; overflow: hidden; }
.pc-form-row .input-group:focus-within { border-color: #69a7ef; box-shadow: 0 0 0 3px #1478f21a; }
.pc-form-row .input-group > .form-control { border: 0; border-radius: 0; min-height: 44px; }
.pc-form-row .input-group > .form-control:focus { box-shadow: none; outline: 0; }
.pc-form-row .btn-outline-secondary { background: #fff; color: #78879b; border: 0; }
.pc-form-row .btn-outline-secondary:hover { background: #f1f6fc; color: #0864cf; }
.pc-form-row .pc-code-button { flex: 0 1 150px; min-width: 100px; max-width: 50%; border: 0; border-left: 1px solid #d5dde8; background: #f4f8ff; white-space: normal; border-radius: 0; }
.pc-form-row .pc-code-button:hover { background: var(--pc-primary); }
.pc-form-row .pc-code-button:disabled { color: #68788d; background: #f3f5f8; border-color: #d5dde8; }
.pc-form-row .pc-area-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 92px; border-right: 1px solid #d5dde8; border-radius: 0; }
.pc-form-row .pc-area-code .bi { font-size: 11px; }
.pc-form-row .pc-password-toggle { flex: 0 0 46px; padding: 8px; font-size: 18px; }
.pc-body .profile-avatar { display: flex; justify-content: flex-start; align-items: center; gap: 20px; border: 0; background: transparent; padding: 0; }
.pc-body .profile-avatar > :is(img, span) { width: 80px; height: 80px; flex: 0 0 80px; border: 1px solid var(--pc-line); background: #edf5ff; }
.pc-body .profile-avatar > [hidden] { display: none !important; }
.pc-avatar-input { min-width: 0; flex: 1; }
.pc-avatar-input .form-control { font-size: 13px; padding: 10px; }
.pc-gender-field { display: block; padding: 0; min-height: 36px; }
.pc-gender-field legend { float: none; width: auto; margin: 0 0 8px; }
.pc-gender-options { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; min-height: 36px; }
.pc-gender-options .form-check { margin: 0; }
.pc-gender-options .form-check-input:checked, .pc-language-option .form-check-input:checked { background-color: var(--pc-primary); border-color: var(--pc-primary); }
.pc-form-actions { padding: 6px 0 0; margin: 0; }
.pc-body .account-save { width: auto; min-width: 160px; min-height: 44px; margin: 0; }
.pc-body .pc-language-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 600px; margin: 32px auto; }
.pc-language-option { display: flex; align-items: center; gap: 14px; min-height: 76px; min-width: 0; padding: 18px 22px; border: 1px solid var(--pc-line); border-radius: 6px; cursor: pointer; }
.pc-language-option span { overflow-wrap: anywhere; }
.pc-language-option .form-check-input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; cursor: pointer; }
.pc-language-option.active { background: #eef6ff !important; border-color: var(--pc-primary); color: #0864cf; font-weight: 600; }
.pc-language-option:hover { border-color: #6ba9ef; }
.pc-body .order-search { position: static; padding: 0 0 24px; background: transparent; }
.pc-body .order-status-tabs { flex-wrap: wrap; gap: 12px 24px; overflow: visible; margin-bottom: 20px; border-bottom: 1px solid var(--pc-line); }
.pc-body .order-status-tabs a { padding: 12px 0; font-size: 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent !important; }
.pc-body .order-status-tabs a.active { border-bottom-color: var(--pc-primary); color: #0864cf; font-weight: 600; }
.pc-body .order-search-row { max-width: 560px; min-height: 44px; background: #fff; border: 1px solid #d5dde8; }
.pc-body .order-search-row:focus-within { border-color: var(--pc-primary); }
.pc-body .order-search-row input { height: 42px; }
.pc-body .order-search-row button { min-height: 34px; padding: 6px 16px; color: #fff; background: var(--pc-primary); border-radius: 4px; }
.pc-body .order-card-list { display: grid; gap: 16px; }
.pc-body .order-summary-card { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 0; padding: 0; border: 1px solid var(--pc-line); border-radius: 6px; margin: 0; background: #fff; overflow: hidden; align-items: stretch; }
.pc-body .order-summary-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--pc-line); padding: 14px 20px; background: #f7f9fc; }
.pc-body .order-summary-head strong { white-space: normal; font-size: 14px; }
.pc-body .order-summary-head small { margin-top: 5px; font-size: 12px; overflow-wrap: anywhere; }
.pc-body .order-summary-state { flex: none; max-width: 45%; }
.pc-body .order-summary-foot { display: flex; flex-direction: column; justify-content: center; gap: 10px; align-items: flex-end; padding: 20px; border: 0; border-left: 1px solid var(--pc-line); }
.pc-body .order-summary-foot strong { overflow-wrap: anywhere; text-align: right; color: #24384e; font-size: 18px; }
.pc-body .order-summary-foot > span { font-size: 12px; }
.pc-body .order-goods-preview { padding: 20px; display: grid; gap: 16px; }
.pc-body .order-goods-preview > div { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; }
.pc-body .order-goods-preview img { width: 56px; height: 56px; object-fit: contain; border: 1px solid #edf0f5; border-radius: 4px; }
.pc-body .order-goods-preview b { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; font-weight: 500; }
.pc-body .order-summary-card:hover { border-color: #93baea; }
.pc-body .mall-pager { grid-column: 1 / -1; padding: 20px 0 0; }
.pc-body .order-detail-page > .mall-content { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.pc-body .detail-status-card { grid-column: 1 / -1; border: 0; border-left: 3px solid var(--pc-primary); border-radius: 0; background: #f0f6fd; padding: 20px; gap: 16px; }
.pc-body .detail-status-card strong { font-size: 18px; overflow-wrap: anywhere; }
.pc-body .detail-fields { grid-column: 2; grid-row: 2; margin: 0; padding: 0 0 0 24px; border: 0; border-left: 1px solid var(--pc-line); border-radius: 0; }
.pc-body .detail-fields > div { gap: 12px; padding: 12px 0; flex-wrap: wrap; }
.pc-body .detail-fields b { min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.pc-body .order-detail-goods { grid-column: 1; grid-row: 2 / span 2; margin: 0; padding: 0; border: 0; border-radius: 0; }
.pc-body .order-detail-goods h2 { margin-bottom: 8px; font-size: 17px; font-weight: 600; }
.pc-body .order-detail-goods .checkout-goods-item { padding: 20px 0; }
.pc-body .detail-actions { grid-column: 2; flex-wrap: wrap; margin: 0; }
.pc-body .detail-actions > * { min-height: 42px; padding: 10px 16px; }
.pc-body .notice-list, .pc-body .coupon-list { max-width: none; margin: 0; }
.pc-body .notice-card { padding: 22px 16px; margin: 0; gap: 18px; border-radius: 0; border: 0; border-bottom: 1px solid var(--pc-line); background: #fff; }
.pc-body .notice-card.unread { background: #f6faff; border-left: 3px solid var(--pc-primary); padding-left: 13px; }
.pc-body .notice-card:hover { background: #edf5ff; }
.pc-body .notice-card-icon { background: #f0f3f7; color: #7a8797; }
.pc-body .notice-card.unread .notice-card-icon { background: #e0eeff; color: #0864cf; }
.pc-body .notice-card strong { font-size: 15px; font-weight: 500; line-height: 1.8; }
.pc-body .notice-card.unread strong { font-weight: 600; }
.pc-body .notice-card small { margin-top: 8px; font-size: 12px; }
.pc-body .notice-detail { max-width: 860px; padding: 0; margin: 0 auto; border: 0; border-radius: 0; }
.pc-body .notice-detail-title { align-items: center; flex-wrap: wrap; gap: 12px; }
.pc-body .notice-detail-title h2 { font-size: 24px; line-height: 1.6; overflow-wrap: anywhere; }
.pc-body .notice-detail > time { display: block; margin-top: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--pc-line); color: var(--pc-muted); }
.pc-body .notice-content { margin-top: 24px; line-height: 1.9; font-size: 15px; overflow-wrap: anywhere; overflow-x: auto; }
.pc-body .notice-content :is(img, video, iframe) { max-width: 100%; }
.pc-body .notice-content img { height: auto; }
.pc-body .coupon-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pc-body .coupon-card { grid-template-columns: minmax(100px, .8fr) minmax(0, 1.2fr); margin: 0; min-width: 0; border-radius: 6px; border: 1px solid #cddff5; background: #fff; }
.pc-body .coupon-card-value { padding: 24px 16px; background: #f0f7ff; color: #0864cf; border-right: 1px dashed #b8d0ee; gap: 8px; }
.pc-body .coupon-card-value strong { font-size: 25px; line-height: 1.3; }
.pc-body .coupon-card-value span { font-size: 12px; }
.pc-body .coupon-card-info { padding: 20px; gap: 12px; }
.pc-body .coupon-card-head { align-items: flex-start; flex-direction: column; gap: 10px; }
.pc-body .coupon-card-head h2 { font-size: 16px; line-height: 1.5; font-weight: 600; }
.pc-body .coupon-card-info p { font-size: 13px; line-height: 1.7; }
.pc-body .coupon-card-info time { font-size: 12px; line-height: 1.7; }
.pc-body .coupon-card.is-disabled { opacity: 1; border-color: var(--pc-line); }
.pc-body .coupon-card.is-disabled .coupon-card-value { background: #f4f5f7; color: #7c8796; border-right-color: #d5dce5; }
.pc-body .coupon-card.is-disabled .coupon-card-head h2 { color: #707b8b; }

/* Compact desktop forms and centered selection dialogs. */
.pc-body .auth-web-page { width: 100%; max-width: 500px; min-height: 0; position: relative; margin: 28px auto; padding: 36px; background: #fff; border: 1px solid var(--pc-line); border-radius: 8px; }
.pc-body .auth-brand-block { padding: 32px 0 24px; }
.pc-body .auth-brand-block h1 { color: #242b36; font-size: 24px; }
.pc-body .auth-brand-block p { color: var(--pc-muted); }
.pc-body .auth-logo { width: 64px; height: 64px; }
.pc-body .auth-web-form { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.pc-body .auth-input-group { overflow: hidden; }
.pc-body .auth-field-label { margin-top: 18px; }
.pc-body .auth-secondary-link { color: var(--pc-primary); text-align: center; }
.pc-body .auth-sub-page .auth-web-form { margin-top: 0; }
.pc-body .auth-page-header { background: transparent; padding: 0 0 24px; color: #242b36; }
.pc-body .auth-page-header h1 { font-size: 22px; }
/* Authentication keeps the merchant header, without storefront navigation. */
body.pc-auth-body { background: linear-gradient(to bottom, #1478f2 0, #1478f2 260px, #f3f6fa 260px, #f3f6fa 100%); }
.pc-auth-body .pc-topnav { position: relative; border-top: 3px solid var(--pc-primary); border-bottom: 0; box-shadow: 0 1px 0 rgba(255, 255, 255, .16); }
.pc-auth-body .pc-topnav-inner { min-height: 72px; flex-wrap: nowrap; }
.pc-auth-body .pc-brand { flex: 1 1 auto; }
.pc-auth-body .pc-container { display: flex; flex-direction: column; justify-content: flex-start; padding: 32px; }
.pc-auth-body .pc-container > .pc-main-layout { width: 100%; margin-block: auto; }
body.pc-auth-body .auth-web-page { max-width: 560px; margin: 0 auto; padding: 28px 40px; border: 1px solid #e0e8f2; border-radius: 8px; background: #fff; box-shadow: 0 16px 48px rgba(28, 64, 108, .1), 0 2px 6px rgba(28, 64, 108, .04); }
.pc-auth-heading { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #edf1f7; text-align: center; }
.pc-auth-heading::before { content: ""; display: block; width: 32px; height: 4px; margin: 0 auto 14px; border-radius: 2px; background: var(--pc-primary); }
.pc-auth-heading h1 { margin: 0; font-size: 28px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.pc-auth-body .auth-mode-tabs { margin-bottom: 20px; padding: 4px; background: #edf3fc; border: 1px solid #e1ebf9; }
.pc-auth-body .auth-mode-tabs button { min-height: 40px; padding: 8px 12px; font-size: 14px; line-height: 1.4; }
.pc-auth-body .auth-mode-tabs button.active { box-shadow: 0 3px 8px rgba(20, 120, 242, .18); }
.pc-auth-body .auth-mode-tabs button:not(.active):hover { background: #e1eaf6; color: #16599f; }
.pc-auth-body .auth-field-label { margin: 16px 0 8px; font-size: 14px; color: #3f4856; }
.pc-auth-body .auth-input-group { min-height: 46px; border-radius: 6px; }
.pc-auth-body .auth-control, .pc-auth-body .auth-area-input { height: 44px; font-size: 15px; }
.pc-auth-body .auth-control.full { height: 46px; border-radius: 6px; }
.pc-auth-body :is(.auth-input-group, .auth-control.full) { border-color: #d4deec; transition: border-color .15s ease, box-shadow .15s ease; }
.pc-auth-body :is(.auth-input-group:hover, .auth-control.full:hover) { border-color: #a8bedb; }
.pc-auth-body :is(.auth-input-group:focus-within, .auth-control.full:focus) { border-color: var(--pc-primary); box-shadow: 0 0 0 3px rgba(20, 120, 242, .12); }
.pc-auth-body .auth-area-input { flex-basis: 88px; width: 88px; padding: 0 12px; }
.pc-auth-body .auth-area-input { border-right: 1px solid #e1e8f2; color: #245a9e; }
.pc-auth-body .auth-code-button { padding: 0 16px; white-space: normal; max-width: 50%; line-height: 1.4; }
.pc-auth-body .auth-verify-tabs { display: flex; gap: 16px; margin: 12px 0 0; padding: 0; background: transparent; border-radius: 0; }
.pc-auth-body .auth-verify-tabs button { min-height: 34px; padding: 6px 0; border-bottom: 2px solid transparent; border-radius: 0; font-size: 13px; }
.pc-auth-body .auth-verify-tabs button.active { background: transparent !important; color: #0c64cc; border-bottom-color: var(--pc-primary); box-shadow: none; }
.pc-auth-body .auth-password-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pc-auth-body .auth-password-fields > div { min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.pc-auth-body .auth-password-fields .auth-control { flex: none; }
.pc-auth-body .auth-assist-row { margin: 12px 0 0; font-size: 14px; }
.pc-auth-body .auth-submit { min-height: 46px; margin-top: 24px; padding: 10px 20px; font-size: 15px; font-weight: 600; border-radius: 6px; box-shadow: 0 4px 12px rgba(20, 120, 242, .18); }
.pc-auth-body .auth-secondary-link { width: fit-content; max-width: 100%; margin: 20px auto 0; padding: 0; color: #0c64cc; font-size: 14px; }
.pc-auth-body :is(.auth-assist-row a, .auth-secondary-link):hover { text-decoration: underline; }
@media (max-width: 575px) {
	.pc-auth-body .pc-container { padding: 24px 16px; justify-content: flex-start; }
	body.pc-auth-body .auth-web-page { padding: 24px; }
	.pc-auth-body .pc-topnav-inner { gap: 16px; }
	.pc-auth-body .pc-brand { font-size: 16px; }
	.pc-auth-body .pc-brand img { width: 32px; height: 32px; }
	.pc-auth-body .pc-language .dropdown-toggle > span { max-width: 90px; }
	.pc-auth-body .auth-password-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (min-width: 576px) and (max-height: 800px) {
	.pc-auth-body .pc-container { padding-block: 24px; }
	.pc-auth-heading { margin-bottom: 18px; padding-bottom: 14px; }
	.pc-auth-heading::before { margin-bottom: 10px; }
	.pc-auth-body .auth-field-label { margin-top: 12px; }
}
.pc-body .offcanvas-bottom { width: min(680px, calc(100% - 48px)) !important; height: 76vh !important; inset: 12vh 0 auto; margin: auto; border: 0; border-radius: 8px !important; }
.pc-body .offcanvas-bottom .offcanvas-body { min-height: 0; }
.pc-body #country-list .list-group-item.active { background: var(--pc-primary) !important; border-color: var(--pc-primary); color: #fff; }
.pc-body .toast-container.position-fixed.end-0 { left: auto !important; right: 24px !important; margin: 0 !important; }
.pc-body .pc-payment-page { max-width: 1120px; }
.pc-body .pc-payment-page > .container { padding: 0 !important; background: transparent; }
.pc-payment-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.pc-payment-layout > section { min-width: 0; }
.pc-payment-summary { position: sticky; top: 100px; padding-left: 24px; border-left: 1px solid var(--pc-line); }

/* Narrow desktop windows and browser zoom must remain usable. */
@media (max-width: 1199px) {
	.pc-topnav-inner { gap: 20px; }
	.pc-nav-links a { padding: 10px; }
	.pc-brand { flex-basis: 200px; }
	.pc-brand span { font-size: 17px; }
	.pc-nav-tools { gap: 12px; }
	.pc-cart-layout { grid-template-columns: minmax(0, 1fr); }
	.pc-cart-summary { position: static; width: 360px; max-width: 100%; justify-self: end; }
	.pc-body .checkout-form { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
	.pc-account-layout > .pc-main-content { padding: 24px; }
	.pc-body .order-summary-card { grid-template-columns: minmax(0, 1fr) 150px; }
	.pc-body .coupon-list { grid-template-columns: minmax(0, 1fr); }
	.pc-body .order-detail-page > .mall-content { grid-template-columns: minmax(0, 1fr); }
	.pc-body :is(.detail-fields, .order-detail-goods, .detail-actions) { grid-column: auto; grid-row: auto; }
	.pc-body .detail-fields { padding: 0; border-left: 0; border-bottom: 1px solid var(--pc-line); }
	.pc-body .detail-actions { justify-content: flex-end; }
	.pc-body .detail-actions > * { flex: 0 1 200px; }
	.pc-home-search { width: 360px; }
}
@media (max-width: 991px) {
	.pc-topnav-inner { flex-wrap: wrap; padding: 12px 24px; gap: 10px 24px; }
	.pc-nav-links { order: 3; width: 100%; }
	.pc-container { padding: 24px; }
	.pc-footer-inner { padding: 28px 24px; gap: 24px; }
	.pc-footer-about { flex-basis: 360px; }
	.pc-footer-contact { flex-basis: 260px; padding-left: 20px; }
	.pc-body .catalog-categories, .pc-account-sidebar, .pc-checkout-aside { top: 150px; }
	.pc-body .catalog-categories { max-height: calc(100vh - 174px); }
	.pc-body .catalog-body { grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
	.pc-account-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
	.pc-account-sidebar { padding-right: 8px; }
	.pc-account-sidebar .nav-link { padding: 12px 8px; }
	.pc-body .goods-detail-page { gap: 24px; }
	.pc-body .goods-summary h2 { font-size: 22px; }
	.pc-body .goods-option-section { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.pc-body .goods-option-section > h3 { padding-top: 0; }
	.pc-body .checkout-form { grid-template-columns: minmax(0, 1fr); }
	.pc-checkout-aside { position: static; }
	.pc-store-heading { flex-wrap: wrap; }
	.pc-home-search { width: 100%; }
	.pc-body .order-summary-card { grid-template-columns: minmax(0, 1fr); }
	.pc-body .order-summary-foot { flex-direction: row; justify-content: space-between; align-items: center; border-left: 0; border-top: 1px solid var(--pc-line); }
	.pc-form-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.pc-gender-field { padding-left: 0; }
	.pc-gender-field legend { float: none; width: auto; margin: 0 0 10px; }
	.pc-form-actions { padding-left: 0; }
	.pc-profile-summary { flex-wrap: wrap; }
	.pc-body .account-menu-list a { grid-template-columns: 40px minmax(0, 1fr) 16px; gap: 8px 12px; }
	.pc-body .account-menu-list a > .bi:first-child { grid-row: 1 / span 2; }
	.pc-body .account-menu-list a > .bi:last-child { grid-column: 3; grid-row: 1 / span 2; }
	.pc-body .account-menu-list small { grid-column: 2; text-align: left; }
	.pc-body .mine-stats { gap: 12px; }
	.pc-body .mine-stat { padding: 18px 14px; }
	.pc-body .mine-order-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.pc-payment-layout { grid-template-columns: minmax(0, 1fr); }
	.pc-payment-summary { position: static; padding-left: 0; border-left: 0; }
	.pc-container { padding: 20px 16px; }
	.pc-footer-inner { padding: 28px 16px; flex-direction: column; }
	.pc-footer-about, .pc-footer-contact { flex: none; width: 100%; }
	.pc-footer-contact { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--pc-line); }
	.pc-page-head { align-items: flex-start; gap: 12px; padding-bottom: 16px; }
	.pc-page-head h1 { font-size: 20px; }
	.pc-page-head nav { width: 100%; }
	.pc-topnav-inner { padding: 12px 16px; }
	.pc-nav-links { gap: 0; justify-content: space-between; }
	.pc-nav-links a { font-size: 13px; padding: 8px; }
	.pc-user-link span { display: none; }
	.pc-account-layout, .pc-body .goods-detail-page { grid-template-columns: minmax(0, 1fr); }
	.pc-account-sidebar { position: static; border: 0; padding: 0; }
	.pc-account-sidebar .nav { flex-direction: row !important; flex-wrap: wrap; gap: 4px; }
	.pc-account-sidebar .nav-link { min-height: 40px; padding: 8px 10px; font-size: 13px; gap: 8px; }
	.pc-account-tabs { gap: 0 16px; }
	.pc-account-tabs a { font-size: 13px; gap: 6px; }
	.pc-account-layout > .pc-main-content { min-height: 0; padding: 20px 16px; }
	.pc-body .mine-account > :is(img, span), .pc-body .account-profile-link > :is(img, span) { width: 56px; height: 56px; flex-basis: 56px; font-size: 28px; }
	.pc-body .mine-account { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
	.pc-body .account-profile-link { grid-template-columns: 56px minmax(0, 1fr) 24px; gap: 16px; }
	.pc-body .mine-account strong, .pc-body .account-profile-link strong { font-size: 19px; }
	.pc-body .mine-notice { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; }
	.pc-body .mine-notice > .bi:last-child { display: none; }
	.pc-body .pc-language-options { grid-template-columns: minmax(0, 1fr); }
	.pc-body .coupon-card-info { padding: 16px; }
	.pc-body .coupon-card-value { padding: 16px 10px; }
	.pc-body .coupon-card-value strong { font-size: 22px; }
	.pc-body .notice-card { padding-right: 8px; gap: 12px; }
	.pc-body .notice-detail-title h2 { font-size: 20px; }
	.pc-body .order-summary-head, .pc-body .order-goods-preview, .pc-body .order-summary-foot { padding: 16px; }
	.pc-body .order-summary-foot { gap: 12px; flex-wrap: wrap; }
	.pc-body .detail-status-card { flex-wrap: wrap; }
	.pc-body .profile-avatar { flex-wrap: wrap; }
	.pc-avatar-input { flex-basis: 180px; }
	.pc-body .catalog-body { grid-template-columns: 128px minmax(0, 1fr); gap: 12px; }
	.pc-body .catalog-products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
	.pc-body .catalog-categories { padding-right: 8px; top: 140px; }
	.pc-body .catalog-categories .catalog-category-link { padding: 8px 6px; font-size: 12px; }
	.pc-body .catalog-category-children { margin-left: 6px; padding-left: 6px; }
	.pc-cart-head { display: none; }
	.pc-body .pc-cart-row { grid-template-columns: minmax(0, 1fr) 126px 36px; gap: 12px; }
	.pc-cart-product { grid-column: 1 / -1; }
	.pc-cart-row > .cart-item-price { grid-column: 1; grid-row: 2; text-align: left; }
	.pc-cart-row > .cart-stepper { grid-column: 2; grid-row: 2; }
	.pc-cart-row > .cart-item-amount { grid-column: 1 / 3; grid-row: 3; text-align: right; }
	.pc-cart-row > [data-cart-remove] { grid-column: 3; grid-row: 2; }
	.pc-body .mine-order-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pc-body .auth-web-page { padding: 24px; margin: 12px auto; }
	.pc-body :is(.pc-result-page, .pc-payment-page) > .container { padding: 20px !important; }
	.pc-body .offcanvas-bottom { width: calc(100% - 24px) !important; }
}
