/*
 * du-marketplace — internal.css
 * Scoped presentation for the native theme shell: cart, checkout, account,
 * Dokan vendor dashboard, guide/editorial pages, blog and 404.
 *
 * Scope = .du-native-shell (always emitted by page.php / single.php / index.php /
 * search.php / 404.php) plus the optional body class `du-native` that the root
 * theme may add. Nothing here depends on Elementor wrappers: no .elementor-*,
 * no elementor-* asset, no grid framework, no CDN font.
 *
 * Design tokens: navy #111c4e · blue #2352ed · white · pale blue #eff5ff ·
 * readable system sans.
 *
 * Safety rules:
 *  - Paid download URLs are never styled/printed here (they live behind
 *    WooCommerce/Stateless; the theme never renders them).
 *  - Dokan icon buttons, date pickers and checkbox/radio/file controls are left
 *    native: buttons are only restyled inside WooCommerce + our own classes.
 *  - Plugin enhancements keep their own handles and classes: du-vendor-editor,
 *    du-vendor-pdf-tools, du-upload-entry, du-catalog-search, du-internal-pages.
 */

/* =================================================================
 * 1. Tokens & base
 * ================================================================= */
.du-native-shell {
	--du-navy: #111c4e;
	--du-blue: #2352ed;
	--du-blue-dark: #1a41c4;
	--du-pale: #eff5ff;
	--du-white: #ffffff;
	--du-text: #33415c;
	--du-muted: #5b6b8c;
	--du-border: #d9e2f3;
	--du-radius: 12px;
	--du-gap: 24px;
	--du-max: 1120px;
	--du-max-vendor: 1200px;

	box-sizing: border-box;
	display: block;
	background: var(--du-white);
	color: var(--du-text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-wrap: break-word;
}

.du-native-shell *,
.du-native-shell *::before,
.du-native-shell *::after {
	box-sizing: border-box;
}

body.du-native-theme {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: var(--du-text, #33415c);
}

.du-native-shell :is(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--du-blue);
	outline-offset: 2px;
}

.du-native-shell :is(h1, h2, h3, h4) {
	color: var(--du-navy);
	line-height: 1.2;
}

/* =================================================================
 * 2. Layout container
 * ================================================================= */
.du-native-shell .du-native-container {
	width: 100%;
	max-width: var(--du-max);
	margin: 0 auto;
	padding: 34px 20px 60px;
}

/* Wide vendor dashboards and product pages. */
.du-native-shell--vendor .du-native-container {
	max-width: var(--du-max-vendor);
}
.du-native-shell--product .du-native-container {
	max-width: var(--du-max-vendor);
}
.du-native-shell--no-title .du-native-container {
	padding-top: 26px;
}
.du-native-shell--404 .du-native-container {
	max-width: 720px;
	text-align: center;
}

/* =================================================================
 * 3. Titles, prose & shared blocks
 * ================================================================= */
.du-native-shell .du-native-title {
	margin: 0 0 22px;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 750;
	letter-spacing: -0.02em;
}
.du-native-shell .du-native-title__query {
	color: var(--du-blue);
}

.du-native-shell .du-native-content {
	max-width: 780px;
}
.du-native-shell .du-native-content :is(h2, h3, h4) {
	margin: 1.6em 0 0.55em;
}
.du-native-shell .du-native-content h2 {
	font-size: clamp(22px, 3vw, 28px);
}
.du-native-shell .du-native-content h3 {
	font-size: clamp(19px, 2.4vw, 22px);
}
.du-native-shell .du-native-content :is(p, li) {
	font-size: 1.0625rem;
	line-height: 1.7;
}
.du-native-shell .du-native-content a {
	color: var(--du-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.du-native-shell .du-native-content :is(img, video, iframe, svg) {
	max-width: 100%;
	height: auto;
}
.du-native-shell .du-native-content img {
	border-radius: 8px;
}
.du-native-shell .du-native-content :is(blockquote) {
	margin: 1.4em 0;
	padding: 12px 20px;
	border-left: 4px solid var(--du-blue);
	background: var(--du-pale);
	border-radius: 0 8px 8px 0;
	color: var(--du-navy);
}
.du-native-shell .du-native-content :is(table) {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: 0.95rem;
}
.du-native-shell .du-native-content :is(th, td) {
	padding: 10px 12px;
	border-top: 1px solid var(--du-border);
	text-align: left;
	vertical-align: top;
}
.du-native-shell .du-native-content thead th {
	border-top: 0;
	background: var(--du-pale);
	color: var(--du-navy);
	font-weight: 700;
}
.du-native-shell .du-native-content :is(pre, code) {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9rem;
}
.du-native-shell .du-native-content :is(pre) {
	overflow-x: auto;
	padding: 14px 16px;
	background: #f6f8fd;
	border: 1px solid var(--du-border);
	border-radius: 8px;
}

.du-native-shell .du-native-meta {
	margin: 0 0 18px;
	color: var(--du-muted);
	font-size: 0.9rem;
}
.du-native-shell .du-native-meta__sep {
	padding: 0 6px;
}

.du-native-shell .du-native-empty {
	margin: 0 0 20px;
	padding: 14px 18px;
	background: var(--du-pale);
	border: 1px solid var(--du-border);
	border-radius: 10px;
	color: var(--du-muted);
}

.du-native-shell .du-native-page-links {
	margin: 24px 0;
	font-weight: 600;
}
.du-native-shell .du-native-page-links__label {
	margin-right: 8px;
	color: var(--du-muted);
	font-weight: 400;
}

/* Own buttons (404, empty states). */
.du-native-shell .du-native-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid var(--du-blue);
	border-radius: 8px;
	background: var(--du-blue);
	color: var(--du-white);
	font-weight: 600;
	text-decoration: none;
}
.du-native-shell .du-native-button:hover {
	background: var(--du-blue-dark);
	border-color: var(--du-blue-dark);
	color: var(--du-white);
}
.du-native-shell .du-native-button--ghost {
	background: var(--du-white);
	color: var(--du-blue);
}
.du-native-shell .du-native-button--ghost:hover {
	background: var(--du-pale);
	color: var(--du-blue-dark);
}

/* =================================================================
 * 4. WooCommerce: shared form controls & buttons
 *    Scoped to .woocommerce on purpose so Dokan icon/date controls and
 *    form widgets are never caught by these rules.
 * ================================================================= */
.du-native-shell .woocommerce {
	color: var(--du-text);
}

.du-native-shell .woocommerce :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], textarea, select) {
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--du-border);
	border-radius: 8px;
	background: var(--du-white);
	color: var(--du-navy);
	font: inherit;
	max-width: 100%;
}
.du-native-shell .woocommerce textarea {
	min-height: 130px;
}

/* Buttons: WooCommerce only. Inputs of type submit/button are included because
   they are Woo's own action buttons; no generic `button {}` selector is used. */
.du-native-shell .woocommerce :is(a.button, button.button, input[type="submit"].button, input[type="submit"]#place_order, #place_order, a.checkout-button, a.wc-forward) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 20px;
	border: 1px solid var(--du-blue);
	border-radius: 8px;
	background: var(--du-blue);
	color: var(--du-white);
	font: 600 1rem/1.4 inherit;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	cursor: pointer;
}
.du-native-shell .woocommerce :is(a.button, button.button, input[type="submit"].button, input[type="submit"]#place_order, #place_order, a.checkout-button, a.wc-forward):hover {
	background: var(--du-blue-dark);
	border-color: var(--du-blue-dark);
	color: var(--du-white);
}
.du-native-shell .woocommerce .button--outline,
.du-native-shell .woocommerce :is(.checkout_coupon button.button) {
	background: var(--du-white);
	color: var(--du-blue);
}
.du-native-shell .woocommerce .button:disabled,
.du-native-shell .woocommerce .button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.du-native-shell .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 1px solid var(--du-border);
	border-left-width: 4px;
	border-radius: 10px;
	background: var(--du-pale);
	color: var(--du-navy);
	font-size: 0.95rem;
}
.du-native-shell .woocommerce .woocommerce-message {
	border-left-color: var(--du-blue);
}
.du-native-shell .woocommerce .woocommerce-error {
	border-left-color: #c0392b;
	background: #fdf1f0;
}

/* Keep the plugin upload CTA legible inside account content. */
.du-native-shell .woocommerce a.du-upload-entry,
.du-native-shell .du-upload-entry {
	color: var(--du-white);
	text-decoration: none;
}
.du-native-shell .du-upload-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

/* =================================================================
 * 5. WooCommerce tables (cart, checkout review, account orders)
 * ================================================================= */
.du-native-shell .woocommerce table.shop_table,
.du-native-shell .woocommerce table.woocommerce-checkout-review-order-table {
	width: 100%;
	margin: 0 0 20px;
	border: 1px solid var(--du-border);
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	color: var(--du-navy);
	font-size: 0.95rem;
}
.du-native-shell .woocommerce table.shop_table :is(th, td),
.du-native-shell .woocommerce table.woocommerce-checkout-review-order-table :is(th, td) {
	padding: 13px 12px;
	border-top: 1px solid var(--du-border);
	line-height: 1.5;
}
.du-native-shell .woocommerce table.shop_table thead th,
.du-native-shell .woocommerce table.woocommerce-checkout-review-order-table thead th {
	border-top: 0;
	background: var(--du-pale);
	color: var(--du-navy);
	font-weight: 700;
}

/* =================================================================
 * 6. Cart
 * ================================================================= */
.du-native-shell--commerce .du-native-container,
.du-native-shell--account .du-native-container {
	max-width: var(--du-max);
}
.du-native-shell .woocommerce-cart-form,
.du-native-shell .cart_totals {
	padding: 24px;
	margin-bottom: 24px;
	border: 1px solid var(--du-border);
	border-radius: var(--du-radius);
	background: var(--du-white);
}
.du-native-shell .woocommerce-cart-form {
	margin-bottom: 24px;
}
.du-native-shell .cart_totals {
	margin-bottom: 0;
}
.du-native-shell .cart_totals h2 {
	margin-top: 0;
}
.du-native-shell .woocommerce-cart-form .product-name a {
	font-weight: 600;
}
.du-native-shell .woocommerce-cart-form .product-thumbnail img {
	width: 56px;
	height: 70px;
	object-fit: contain;
	background: #f6f8fd;
	border-radius: 6px;
}
.du-native-shell .woocommerce a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--du-navy);
	font-size: 1.1rem;
}
.du-native-shell .woocommerce a.remove:hover {
	background: #fdf1f0;
}
.du-native-shell .woocommerce-cart-form .coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	max-width: 100%;
}
.du-native-shell .woocommerce-cart-form .coupon #coupon_code {
	width: 190px !important;
	max-width: 100%;
	margin: 0;
}
.du-native-shell .woocommerce-cart-form .quantity .qty {
	width: 76px;
}
.du-native-shell .woocommerce .wc-proceed-to-checkout {
	padding-bottom: 0;
}
.du-native-shell .woocommerce .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	margin-bottom: 0;
}

/* =================================================================
 * 7. Checkout (native columns, labels, gateways untouched)
 * ================================================================= */
.du-native-shell .woocommerce #customer_details {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: start;
	gap: var(--du-gap);
	margin: 0 0 28px;
}
.du-native-shell .woocommerce #customer_details::before,
.du-native-shell .woocommerce #customer_details::after {
	content: none;
}
.du-native-shell .woocommerce #customer_details > :is(.col-1, .col-2) {
	float: none;
	width: auto;
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--du-border);
	border-radius: var(--du-radius);
	background: var(--du-white);
}
.du-native-shell .woocommerce #customer_details :is(.woocommerce-billing-fields, .woocommerce-additional-fields) > h3 {
	margin-top: 0;
}
.du-native-shell .woocommerce #customer_details .form-row {
	margin-bottom: 16px;
	padding: 0;
}
.du-native-shell .woocommerce #customer_details .form-row label {
	display: block;
	margin-bottom: 6px;
	color: var(--du-navy);
	font-size: 0.95rem;
	font-weight: 600;
}
.du-native-shell .woocommerce #order_review {
	padding: 24px;
	border: 1px solid var(--du-border);
	border-radius: var(--du-radius);
	background: var(--du-white);
}
.du-native-shell .woocommerce #order_review_heading {
	margin: 0 0 18px;
}
.du-native-shell .woocommerce #payment.woocommerce-checkout-payment {
	border-radius: 10px;
	background: var(--du-pale);
}
.du-native-shell .woocommerce #payment .payment_box {
	background: var(--du-white);
	color: var(--du-text);
}
.du-native-shell .woocommerce #payment .payment_box::before {
	border-bottom-color: var(--du-white);
}
.du-native-shell .woocommerce #payment .woocommerce-privacy-policy-text {
	font-size: 0.875rem;
	line-height: 1.5;
}
.du-native-shell .woocommerce #payment #place_order {
	min-width: 220px;
	margin-top: 12px;
}
.du-native-shell .woocommerce .checkout_coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding: 16px;
	border: 1px dashed var(--du-border);
	border-radius: 10px;
	margin-bottom: 24px;
}

/* =================================================================
 * 8. My Account (readable sidebar + content)
 * ================================================================= */
.du-native-shell--account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}
.du-native-shell--account .woocommerce::before,
.du-native-shell--account .woocommerce::after {
	content: none;
}
.du-native-shell--account :is(.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content) {
	float: none;
	width: auto;
	min-width: 0;
}
.du-native-shell--account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 8px;
	background: var(--du-pale);
	border: 1px solid var(--du-border);
	border-radius: 12px;
}
.du-native-shell--account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 11px 13px;
	min-height: 44px;
	border-radius: 8px;
	color: var(--du-navy);
	font-size: 0.9rem;
	text-decoration: none;
}
.du-native-shell--account .woocommerce-MyAccount-navigation a:hover {
	background: var(--du-white);
	color: var(--du-navy);
}
.du-native-shell--account .woocommerce-MyAccount-navigation .is-active > a {
	background: var(--du-blue);
	color: var(--du-white);
	font-weight: 600;
}
.du-native-shell--account .woocommerce-MyAccount-content {
	padding: 24px;
	border: 1px solid var(--du-border);
	border-radius: 12px;
	color: var(--du-text);
}
.du-native-shell--account .woocommerce-MyAccount-content a {
	color: var(--du-blue);
}
.du-native-shell--account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}
.du-native-shell--account .woocommerce:has(> .woocommerce-MyAccount-navigation) > .woocommerce-notices-wrapper:empty {
	display: none;
}

/* =================================================================
 * 9. Dokan vendor dashboard (wide, readable sidebar)
 *    Layout/tables/forms only — Dokan buttons, icon buttons and
 *    date-picker controls stay native on purpose.
 * ================================================================= */
.du-native-shell--vendor .dokan-dashboard-wrap {
	display: grid;
	grid-template-columns: 252px minmax(0, 1fr);
	align-items: start;
	gap: 26px;
	color: var(--du-text);
	font-size: 0.95rem;
}
.du-native-shell--vendor .dokan-dashboard-wrap::before,
.du-native-shell--vendor .dokan-dashboard-wrap::after {
	content: none;
}
.du-native-shell--vendor :is(.dokan-dash-sidebar, .dokan-dashboard-content) {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
}
.du-native-shell--vendor .dokan-dash-sidebar {
	padding: 10px;
	background: var(--du-pale);
	border: 1px solid var(--du-border);
	border-radius: 12px;
	overflow: visible;
}
.du-native-shell--vendor .dokan-dashboard-content {
	padding: 24px;
	background: var(--du-white);
	border: 1px solid var(--du-border);
	border-radius: 12px;
}
.du-native-shell--vendor #dokan-navigation ul.dokan-dashboard-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	background: transparent;
}
.du-native-shell--vendor #dokan-navigation ul.dokan-dashboard-menu > li {
	margin: 0 0 3px;
	border: 0;
}
.du-native-shell--vendor #dokan-navigation ul.dokan-dashboard-menu li a {
	display: block;
	padding: 11px 13px;
	min-height: 44px;
	border-radius: 8px;
	color: var(--du-navy);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}
.du-native-shell--vendor #dokan-navigation ul.dokan-dashboard-menu li a:hover {
	background: var(--du-white);
	color: var(--du-navy);
}
.du-native-shell--vendor #dokan-navigation ul.dokan-dashboard-menu li.active > a {
	background: var(--du-blue);
	color: var(--du-white);
	font-weight: 600;
}

/* Dokan panels, alerts, KPI summaries, progress. */
.du-native-shell--vendor .dokan-panel {
	border: 1px solid var(--du-border);
	border-radius: 10px;
}
.du-native-shell--vendor .dokan-panel-body {
	padding: 16px;
}
.du-native-shell--vendor .dokan-progress {
	border-radius: 6px;
}
.du-native-shell--vendor .dokan-alert {
	border-radius: 10px;
}
.du-native-shell--vendor .dokan-alert-info {
	background: var(--du-pale);
	border-color: var(--du-border);
}
.du-native-shell--vendor .woocommerce-summary__item {
	background: var(--du-pale);
	border: 1px solid var(--du-border);
	border-radius: 10px;
	min-height: 72px;
}
.du-native-shell--vendor .woocommerce-summary__item-value {
	color: var(--du-navy);
	font-weight: 650;
}
.du-native-shell--vendor .woocommerce-summary__item-label {
	color: var(--du-muted);
	font-size: 0.8rem;
}

/* Dokan tables stay scrollable, never clipped. */
.du-native-shell--vendor .dokan-dashboard-content :is(table) {
	width: 100%;
	border-collapse: collapse;
}
.du-native-shell--vendor .dokan-dashboard-content :is(th, td) {
	padding: 10px 8px;
	border-top: 1px solid var(--du-border);
	text-align: left;
	vertical-align: top;
}
.du-native-shell--vendor .dokan-dashboard-content thead th {
	border-top: 0;
	background: var(--du-pale);
	color: var(--du-navy);
}

/* Dokan text inputs only — never checkbox/radio/file/date/time/submit/icon. */
.du-native-shell--vendor .dokan-dashboard-content :is(
	input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="date"]):not([type="time"]):not([type="datetime-local"]):not([type="submit"]):not([type="button"]):not([type="image"]),
	textarea,
	select
) {
	padding: 8px 10px;
	border: 1px solid var(--du-border);
	border-radius: 8px;
	background: var(--du-white);
	color: var(--du-navy);
	font: inherit;
	max-width: 100%;
}

/* Dokan tabs / forms responsive. */
.du-native-shell--vendor :is(.dokan-tabs, .dokan-form-group, .dokan-form-row) {
	max-width: 100%;
}

/* =================================================================
 * 10. Vendor hero (dashboard root) — plugin CTA keeps .du-upload-entry
 * ================================================================= */
.du-native-shell .du-vendor-hero {
	margin: 0 0 26px;
	padding: 28px 26px;
	background: var(--du-pale);
	border: 1px solid var(--du-border);
	border-radius: var(--du-radius);
}
.du-native-shell .du-vendor-hero__title {
	margin: 0 0 6px;
	font-size: clamp(22px, 3vw, 28px);
	color: var(--du-navy);
}
.du-native-shell .du-vendor-hero__sub {
	margin: 0 0 16px;
	color: var(--du-muted);
}
.du-native-shell .du-vendor-hero__support {
	margin: 14px 0 0;
	font-size: 0.9rem;
}
.du-native-shell .du-vendor-hero__support a {
	color: var(--du-blue);
}

/* =================================================================
 * 11. Product page baseline (Woo hooks preserved; layout only)
 * ================================================================= */
.du-native-shell--product .single-product {
	display: block;
}
.du-native-shell--product .single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}
.du-native-shell--product .single-product div.product .woocommerce-product-gallery,
.du-native-shell--product .single-product div.product .summary {
	float: none;
	width: auto;
	margin: 0;
	min-width: 0;
}
.du-native-shell--product .single-product div.product .summary h1 {
	margin-top: 0;
}
.du-native-shell--product .single-product :is(.related, .upsells, .cross-sells) {
	grid-column: 1 / -1;
}
.du-native-shell--product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--du-border);
}
.du-native-shell--product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 11px 14px;
	min-height: 44px;
	color: var(--du-navy);
	font-weight: 600;
	text-decoration: none;
}

/* =================================================================
 * 12. Blog cards, single entry
 * ================================================================= */
.du-native-shell .du-native-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--du-gap);
}
.du-native-shell .du-native-card {
	display: flex;
	flex-direction: column;
	background: var(--du-white);
	border: 1px solid var(--du-border);
	border-radius: var(--du-radius);
	overflow: hidden;
}
.du-native-shell .du-native-card__thumb {
	display: block;
	background: var(--du-pale);
}
.du-native-shell .du-native-card__thumb img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.du-native-shell .du-native-card__body {
	padding: 22px;
}
.du-native-shell .du-native-card__title {
	margin: 0 0 8px;
	font-size: 1.25rem;
}
.du-native-shell .du-native-card__title a {
	color: var(--du-navy);
	text-decoration: none;
}
.du-native-shell .du-native-card__title a:hover {
	color: var(--du-blue);
}
.du-native-shell .du-native-card__excerpt p {
	margin: 0;
	color: var(--du-text);
}
.du-native-shell .du-native-entry__thumb {
	margin: 0 0 24px;
}
.du-native-shell .du-native-entry__thumb img {
	width: 100%;
	height: auto;
	border-radius: var(--du-radius);
}
.du-native-shell .du-native-entry__tags a {
	color: var(--du-muted);
}
.du-native-shell .post-navigation,
.du-native-shell .navigation.pagination {
	margin: 28px 0;
}
.du-native-shell .post-navigation a {
	color: var(--du-blue);
	text-decoration: none;
}
.du-native-shell .du-native-nav__label {
	display: block;
	color: var(--du-muted);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.du-native-shell .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--du-border);
	border-radius: 8px;
	color: var(--du-navy);
	text-decoration: none;
}
.du-native-shell .page-numbers.current {
	background: var(--du-blue);
	border-color: var(--du-blue);
	color: var(--du-white);
}

/* =================================================================
 * 13. Search & 404
 * ================================================================= */
.du-native-shell .du-native-search-form {
	max-width: 560px;
	margin: 0 0 28px;
}
.du-native-shell .du-native-search-form :is(input[type="search"], input[type="text"]) {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--du-border);
	border-radius: 8px;
	font: inherit;
}
.du-native-shell--404 .du-native-404__code {
	margin: 0;
	color: var(--du-pale);
	font-size: clamp(72px, 16vw, 140px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}
.du-native-shell--404 .du-native-search-form {
	margin-inline: auto;
}
.du-native-shell--404 .du-native-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 20px 0 0;
}

/* =================================================================
 * 14. Responsive
 * ================================================================= */
@media (max-width: 900px) {
	.du-native-shell--vendor .dokan-dashboard-wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	.du-native-shell--vendor .dokan-dash-sidebar {
		height: auto !important;
	}
	.du-native-shell--vendor #dokan-navigation {
		height: auto !important;
		min-height: 44px;
	}
	.du-native-shell--vendor #dokan-navigation ul.dokan-dashboard-menu {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3px;
	}
	.du-native-shell--product .single-product div.product {
		grid-template-columns: minmax(0, 1fr);
	}

	.du-native-shell .du-native-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	.du-native-shell .du-native-container {
		padding: 24px 16px 44px;
	}
	.du-native-shell .du-native-title {
		font-size: 1.75rem;
	}
	.du-native-shell--account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	.du-native-shell--account .woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 3px;
	}
	.du-native-shell .woocommerce #customer_details {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}
	.du-native-shell .woocommerce #customer_details .form-row-first,
	.du-native-shell .woocommerce #customer_details .form-row-last {
		float: none;
		width: 100%;
	}
	.du-native-shell .woocommerce #payment #place_order {
		float: none;
		width: 100%;
		min-width: 0;
	}
	.du-native-shell .woocommerce-cart-form,
	.du-native-shell .cart_totals,
	.du-native-shell .woocommerce #order_review,
	.du-native-shell .woocommerce #customer_details > :is(.col-1, .col-2) {
		padding: 16px;
	}
	.du-native-shell .woocommerce table.shop_table,
	.du-native-shell .woocommerce table.woocommerce-checkout-review-order-table,
	.du-native-shell .du-native-content :is(table) {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.du-native-shell .woocommerce-cart-form .coupon {
		flex-direction: column;
		align-items: stretch;
	}
	.du-native-shell .woocommerce-cart-form .coupon :is(#coupon_code, button.button) {
		width: 100% !important;
	}
	.du-native-shell .woocommerce-cart-form button[name="update_cart"] {
		width: 100%;
	}
	.du-native-shell .du-vendor-hero {
		padding: 22px 18px;
	}
}

@media (max-width: 480px) {
	.du-native-shell--account .woocommerce-MyAccount-navigation ul {
		grid-template-columns: minmax(0, 1fr);
	}
	.du-native-shell .du-vendor-hero .du-upload-actions,
	.du-native-shell .du-upload-actions {
		flex-direction: column;
		align-items: stretch;
	}
}
/* Operational screens use the full shell; the 780px reading width is editorial only. */
body.du-native-theme .du-native-content.du-native-content--operational { max-width:none; width:100%; }
body.woocommerce-cart .du-native-content--operational > .woocommerce { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:24px; align-items:start; }
body.woocommerce-cart .du-native-content--operational > .woocommerce > .woocommerce-notices-wrapper { grid-column:1/-1; }
body.woocommerce-cart .woocommerce-notices-wrapper:empty { display:none; }
body.woocommerce-cart .du-native-content--operational .cart-collaterals { width:100%; }
body.woocommerce-cart .du-native-content--operational .cart_totals { float:none; width:100%; }
@media(max-width:980px){body.woocommerce-cart .du-native-content--operational > .woocommerce { grid-template-columns:minmax(0,1fr); }}
