/*
 Theme Name:   ArenaRacer B2B
 Description:  Bricks child theme for the arenaracer.eu partner shop (structure based on b2b.naudi.hu).
 Author:       Inenginn Kft.
 Author URI:   https://inenginn.com/
 Template:     bricks
 Version:      1.0.0
 Text Domain:  bricks
*/

/* Brand fonts as on arenaracer.hu, self-hosted (Bricks' Google Fonts loading is disabled; SIL Open Font License):
   Manrope (variable 200–800) for text, Barlow Condensed 700 for headings. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Partner product list on phones: compact card rows.
   [image] Name
           84 000 Ft + ÁFA · 87 készleten
           Ajánlott ár: 154 990 Ft br.
           [− 0 +] [ Kosárba          ]                                               */
@media (max-width: 767px) {
	.ar-row {
		display: grid !important;
		grid-template-columns: 64px auto 1fr;
		grid-template-areas:
			"img name  name"
			"img price stock"
			"img rrp   rrp"
			"img cart  cart";
		column-gap: 12px;
		row-gap: 4px;
		align-items: center;
		height: auto !important;
		padding: 12px 0 !important;
	}
	.ar-row > .ar-img   { grid-area: img; width: 64px !important; align-self: start; }
	.ar-row > .ar-name  { grid-area: name; width: auto !important; align-items: flex-start !important; }
	.ar-row > .ar-price { display: contents !important; } /* price and RRP become grid items of their own */
	.ar-row .brxe-product-price { grid-area: price; font-weight: 600; color: #1d1d1d; white-space: nowrap; }
	.ar-row .brxe-product-price .price { margin: 0; }
	.ar-row .brxe-arlrrp { grid-area: rrp; }
	.ar-row .brxe-arlrrp .ar-rrp { margin: 0; white-space: nowrap; }
	.ar-row > .ar-stock { grid-area: stock; width: auto !important; flex-direction: row !important; align-items: center !important; font-size: 13px; white-space: nowrap; }
	.ar-row > .ar-stock::before { content: "·"; margin-right: 6px; color: #616161; }
	.ar-row > .ar-stock .stock { margin: 0; }
	.ar-row > .ar-cart  { grid-area: cart; width: auto !important; align-items: stretch !important; margin-top: 4px; }
	.ar-row > .ar-cart > .brxe-product-add-to-cart { width: 100%; }
	.ar-row > .ar-cart form.cart { display: flex; gap: 8px; width: 100%; margin: 0; }
	.ar-row > .ar-cart .quantity { flex: 0 0 auto; height: 40px; }
	.ar-row > .ar-cart .quantity input,
	.ar-row > .ar-cart .quantity .action { height: 40px; }
	.ar-row > .ar-cart form.cart .button { flex: 1 1 auto; justify-content: center; height: 40px; min-height: 40px; margin: 0; padding-block: 0; }
	.ar-row .ar-name .brxe-text-basic { font-size: 15px; line-height: 1.35; }
}

/* Guest call-to-action buttons: same width, stacked on phones. */
.ar-guest-btn { width: 300px; max-width: 100%; justify-content: center; text-align: center; }

/* Legal pages (ÁSZF, Adatkezelési tájékoztató, Impresszum): readable column. */
.ar-legal { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.75; }
.ar-legal h2 { font-size: 22px; margin: 2.2em 0 0.6em; }
.ar-legal h3 { font-size: 17px; margin: 1.6em 0 0.4em; }
.ar-legal p, .ar-legal ul, .ar-legal ol { margin: 0 0 1em; }
.ar-legal ul, .ar-legal ol { padding-left: 1.4em; }
.ar-legal li { margin-bottom: 0.35em; }
.ar-legal a { color: #1d1d1d; text-decoration: underline; }
.ar-legal .ar-legal-meta { font-size: 14px; }
.ar-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.ar-table th, .ar-table td { border: 1px solid #e5e5e5; padding: 10px 12px; text-align: left; vertical-align: top; }
.ar-table th { width: 30%; background: #f4f4f4; color: #1d1d1d; font-weight: 600; }
@media (max-width: 767px) {
	.ar-legal { font-size: 15px; }
	.ar-table th, .ar-table td { display: block; width: auto; }
	.ar-table th { border-bottom: 0; }
}

/* Checkout: same plain asterisk on every required field (the tax number's was underlined),
   and spacing between the two name fields when they stack on phones. */
.woocommerce form .form-row abbr.required { text-decoration: none; border: 0; }
@media (max-width: 767px) {
	.woocommerce form .form-row-first { margin-bottom: 1em; }
}

/* B2B partner features (inc/b2b.php) */
.ar-shipto { margin: 0 0 28px; padding: 16px 18px; border: 1px solid #e5e5e5; background: #f4f4f4; }
.ar-shipto h3 { margin: 0 0 10px; font-size: 18px; color: #1d1d1d; }
.ar-shipto__option { display: flex; gap: 10px; align-items: center; padding: 6px 0; cursor: pointer; color: #1d1d1d; }
.ar-shipto__option input { width: 18px; height: 18px; accent-color: #e30513; }
#ship-to-different-address { display: none; } /* replaced by the choice above */
.ar-ship-title { margin: 0 0 4px; font-size: 18px; color: #1d1d1d; }
.ar-ship-help { margin: 0 0 16px; font-size: 14px; }
/* Shipping section heading per choice; the end-customer contact only for direct delivery. */
.ar-ship-head { display: none; }
form.checkout[data-ar-ship="customer"] .ar-ship-head--customer, form.checkout[data-ar-ship="own"] .ar-ship-head--own { display: block; }
form.checkout[data-ar-ship="own"] #shipping_vasarlo_telefon_field, form.checkout[data-ar-ship="own"] #shipping_vasarlo_email_field { display: none; }
.ar-billing-missing { margin: 0 0 16px; padding: 12px 16px; border-left: 3px solid #e30513; background: #f4f4f4; color: #1d1d1d; font-size: 14px; }
.ar-ship-desc { display: block; font-size: 12px; font-weight: 400; color: #616161; }
.ar-rrp { display: block; font-size: 13px; color: #616161; margin-top: 2px; }
.ar-rrp__vat { font-size: 12px; }
.ar-zip { display: inline-block; font-size: 14px; font-weight: 600; color: #1d1d1d; text-decoration: underline; }
.ar-zip { margin-top: 12px; }
.ar-tracking { margin: 0 0 20px; padding: 12px 16px; border-left: 3px solid #e30513; background: #f4f4f4; }

/* Product description (accordion): headings in proportion to the text. */
.brxe-accordion .accordion-content-wrapper h2 { font-size: 18px; margin: 1.2em 0 0.4em; }
.brxe-accordion .accordion-content-wrapper h3 { font-size: 16px; margin: 1.2em 0 0.3em; }
.brxe-accordion .accordion-content-wrapper ul { margin: 0 0 0.8em; }

/* WooCommerce back-in-stock form in the brand style. */
.wc_bis_form__title { text-transform: none !important; letter-spacing: 0 !important; font-size: 15px; font-weight: 600; color: #1d1d1d; }
.wc_bis_form button, .wc_bis_form .button { background: #e30513 !important; color: #fff !important; opacity: 1 !important; border: 0; padding: 10px 20px; font-weight: 600; }
.woocommerce-MyAccount-content form .button[name="ar_feed_renew"] { background: #1d1d1d; color: #fff; }

/* Header icons: the icon links were inline (30px line box), the mini cart a 24px flex box,
   so the grid and user icons sat 3px higher than the bag. Same box for all three. */
#brx-header a.bricks-link-wrapper:has(> .brxe-icon) { display: flex; align-items: center; }
/* Checkout + thank-you logo: Bricks' ":where(.brxe-image) img { height: 100% }" squashed it sideways. */
#brxe-4f01d4.brxe-image, #brxe-0ba069.brxe-image { width: 220px; }
#brxe-4f01d4 img, #brxe-0ba069 img { height: auto; }

/* ---- Partner UX (inc/ux.php) ---- */
/* Product list: picked rows + the bulk-order bar at the bottom. */
.ar-row { position: relative; }
.ar-row--picked::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 3px; background: #e30513; } /* above the white photo block; no row background: the photos are white squares */
.ar-row--picked input.qty { color: #e30513; font-weight: 700; }
.ar-bulk { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; border-top: 2px solid #e30513; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
.ar-bulk[hidden] { display: none; }
.ar-bulk__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1400px; margin: 0 auto; padding: 12px 24px; }
.ar-bulk__sum { color: #1d1d1d; font-size: 16px; }
.ar-bulk__sum span { margin-left: 12px; font-weight: 600; }
.ar-bulk__sum small { font-size: 12px; font-weight: 500; }
.ar-bulk__actions { display: flex; gap: 10px; }
.ar-bulk__actions button { height: 44px; padding: 0 22px; border: 1px solid #1d1d1d; background: #fff; color: #1d1d1d; font-weight: 700; cursor: pointer; border-radius: 7px; font-size: 14px; }
.ar-bulk__actions .ar-bulk__add { border-color: #e30513; background: #e30513; color: #fff; }
.ar-bulk__actions .ar-bulk__add:hover { background: #1d1d1d; border-color: #1d1d1d; }
.ar-bulk__actions button:disabled { opacity: .6; cursor: wait; }
.ar-bulk__msg:not(:empty) { max-width: 1400px; margin: 0 auto; padding: 0 24px 12px; color: #c0392b; font-size: 14px; }
body.ar-bulk-open #brx-footer { padding-bottom: 72px; }
@media (max-width: 767px) {
	.ar-bulk__inner { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 16px; }
	.ar-bulk__sum { font-size: 14px; text-align: center; }
	.ar-bulk__actions .ar-bulk__clear { flex: 0 0 auto; }
	.ar-bulk__actions .ar-bulk__add { flex: 1 1 auto; }
	body.ar-bulk-open #brx-footer { padding-bottom: 120px; }
}

/* Header: net cart total next to the bag. */
#brx-header .brxe-shortcode:has(> .ar-cart-total[hidden]) { display: none; } /* empty cart: no extra gap */
.ar-cart-total { color: #1d1d1d; font-size: 14px; font-weight: 600; white-space: nowrap; }
.ar-cart-total small { font-size: 11px; font-weight: 500; color: #616161; }

/* Cart: quantities update by themselves. No "Szállítás ide": it showed the previous end
   customer's address after a direct delivery; the checkout asks where the order goes. */
.woocommerce-cart-form [name="update_cart"] { display: none !important; }
.cart_totals .woocommerce-shipping-destination { display: none; }
.cart_totals th { white-space: nowrap; }

/* Guest landing: link to the partner programme on arenaracer.hu. */
.ar-guest-more a { color: #1d1d1d; text-decoration: underline; }

/* My Account → Rendelések (and the dashboard's latest orders): compact cards on phones.
   #6266                2026-11-16
   Saját rendelésszám: WEB-123      (only when set)
   Címzett: Kiss Anna, Debrecen     (only for direct delivery)
   Feldolgozás alatt    62 230 Ft · 1 termék                                                 */
.woocommerce-orders-table .woocommerce-orders-table__cell-ar-ref,
.woocommerce-orders-table .woocommerce-orders-table__cell-ar-recipient { font-size: 14px; }
.ar-dash-orders th, .ar-dash-orders td { padding: 10px 12px 10px 0; border-bottom: 1px solid #e5e5e5; text-align: left; }
.ar-dash-orders .woocommerce-orders-table__cell-order-number a { font-weight: 700; color: #1d1d1d; }
@media (max-width: 767px) {
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table tbody tr { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid #e5e5e5; }
	.woocommerce-orders-table tbody tr > * { display: block !important; padding: 0 !important; border: 0 !important; text-align: left !important; font-size: 14px; }
	.woocommerce-orders-table tbody tr > *::before { display: none !important; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-date,
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-total { text-align: right !important; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a { font-weight: 700; color: #1d1d1d; font-size: 15px; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a::after { content: ""; position: absolute; inset: 0; } /* the whole card opens the order */
	.woocommerce-orders-table .woocommerce-orders-table__cell-ar-ref,
	.woocommerce-orders-table .woocommerce-orders-table__cell-ar-recipient { grid-column: 1 / -1; color: #616161; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-ar-ref::before,
	.woocommerce-orders-table .woocommerce-orders-table__cell-ar-recipient::before { display: inline !important; content: attr(data-title) ":"; margin-right: 5px; font-weight: 600; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-ar-ref:not(:has(span)),
	.woocommerce-orders-table .woocommerce-orders-table__cell-ar-recipient:not(:has(span)) { display: none !important; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-status { color: #1d1d1d; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions { position: relative; z-index: 1; grid-column: 1 / -1; }
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .view { display: none; } /* the card opens the order */
	.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions:not(:has(.button:not(.view))) { display: none !important; }
}

/* My Account dashboard. */
.ar-dash-hello span { font-size: 14px; }
.ar-dash-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 32px; }
.ar-dash-link { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid #1d1d1d; color: #1d1d1d; font-weight: 700; font-size: 14px; border-radius: 7px; }
.ar-dash-link--main { background: #e30513; border-color: #e30513; color: #fff; }
.ar-dash-link--main:hover { background: #1d1d1d; border-color: #1d1d1d; color: #fff; }
.ar-dash-title { font-size: 18px; margin: 0 0 8px; }
.ar-dash-more { display: inline-block; margin-top: 12px; font-weight: 600; color: #1d1d1d; text-decoration: underline; }
@media (max-width: 767px) {
	.ar-dash-link { flex: 1 1 calc(50% - 5px); justify-content: center; padding: 0 10px; }
	.ar-dash-link--main { flex-basis: 100%; }
}

/* Checkout: saved billing details as a summary ("Módosítás" opens the form). */
.ar-billing-summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 0 0 24px; padding: 16px 18px; border: 1px solid #e5e5e5; background: #f4f4f4; color: #1d1d1d; font-size: 15px; line-height: 1.6; }
.ar-billing-summary p { margin: 0; }
.ar-billing-summary__edit { flex: 0 0 auto; border: 0; background: none; padding: 0; color: #1d1d1d; font-weight: 600; text-decoration: underline; cursor: pointer; }
.woocommerce-billing-fields:not(.ar-billing-open) .ar-billing-summary ~ .woocommerce-billing-fields__field-wrapper { display: none; }
.woocommerce-billing-fields.ar-billing-open .ar-billing-summary { display: none; }

/* Product list: item code + EAN under the name; one line on desktop, two on phones */
.ar-sku > span { white-space: nowrap; }
.ar-sku__ean::before { content: " · "; white-space: pre; }
@media (max-width: 767px) {
	.ar-sku > span { display: block; }
	.ar-sku__ean::before { content: none; }
}

/* ---- Brand restyle (2026-11-21): arenaracer.hu's look ----
   Red #e30513, text #1d1d1d, muted #616161, light grey surfaces, 7px buttons, 12–16px cards,
   Barlow Condensed headings (theme style), Manrope text. */
:root { --ar-red: #e30513; --ar-dark: #1d1d1d; --ar-muted: #616161; --ar-line: #e5e5e5; --ar-surface: #f4f4f4; --ar-radius: 7px; }
::selection { background: var(--ar-red); color: #fff; }

/* Header: vector logo + tier badge. */
#brx-header .brxe-image img[src$=".svg"] { width: 100%; height: auto; }
.ar-tier { display: inline-flex; width: auto !important; flex: 0 0 auto; align-items: center; padding: 4px 10px 3px; border-radius: 5px; background: var(--ar-dark); color: #fff;
	font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 16px; line-height: 1; letter-spacing: 1px; text-transform: uppercase; }
.ar-tier > * { margin: 0; }

/* Buttons: rounded, sentence case (Bricks + WooCommerce). */
.bricks-button, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button, .brxe-form button[type="submit"] { border-radius: var(--ar-radius); }
.ar-guest-btn { border-radius: var(--ar-radius); }
.ar-guest-btn--ghost:hover { background: var(--ar-dark) !important; color: #fff !important; }

/* Quantity stepper: one rounded box. */
.quantity { border-radius: var(--ar-radius); overflow: hidden; }

/* Product list: white rounded card on the grey page, dividers between rows only. */
.ar-list-head { width: 100%; margin-inline: auto; }
.ar-list { width: 100%; background: #fff; border: 1px solid var(--ar-line); border-radius: 16px; padding: 4px 24px; }
.ar-list > .ar-row + .ar-row { border-top: 1px solid var(--ar-line); }
.ar-row .ar-name .brxe-text-basic:first-child { font-size: 16px; color: var(--ar-dark); }
.ar-row .brxe-product-price { font-size: 16px; font-weight: 700; }
.ar-row .brxe-product-price small, .ar-row .brxe-product-price .woocommerce-price-suffix { font-weight: 500; color: var(--ar-muted); }
.ar-row .ar-img img { border-radius: 8px; }
@media (max-width: 767px) {
	.ar-list { padding: 0 14px; border-radius: 12px; }
}

/* Cards and panels: rounded like arenaracer.hu. */
.ar-shipto, .ar-billing-summary { border-radius: 12px; }
.ar-tracking { border-radius: 0 8px 8px 0; }
.woocommerce-cart-form, .brxe-container:has(> .woocommerce-cart-form), .brxe-container:has(> .cart-collaterals), .cart-collaterals { border-radius: 16px; }
.woocommerce-checkout-review-order-table, .woocommerce-checkout-payment, #payment { border-radius: 12px; overflow: hidden; }
.cart_totals h2 { margin-bottom: 12px; }
.checkout-button, #place_order { text-transform: none !important; font-weight: 700 !important; letter-spacing: .5px; border-radius: var(--ar-radius) !important; }
input[type="radio"], input[type="checkbox"] { accent-color: var(--ar-red); }
.woocommerce-MyAccount-navigation { border-radius: 16px; overflow: hidden; }
.woocommerce-MyAccount-navigation .is-active a { color: var(--ar-red); }

/* Footer: black like arenaracer.hu. */
.ar-footer, .ar-footer p { color: #bdbdbd; }
.ar-footer a { color: #bdbdbd; text-decoration: none; transition: color .15s; }
.ar-footer a:hover { color: #fff; }
.ar-footer .brxe-social-icons, .ar-footer .brxe-social-icons a, .ar-footer .brxe-social-icons i { color: #fff !important; }
.ar-footer .brxe-text-basic { color: #9e9e9e; font-size: 14px; }

/* Form fields: rounded, light border, red focus (Bricks forms, checkout, account). */
.brxe-form input:not([type="checkbox"]):not([type="radio"]), .brxe-form textarea, .brxe-form select,
.woocommerce form .input-text:not(.qty), .woocommerce form select, .woocommerce-account input.input-text:not(.qty) {
	border: 1px solid #cfcfcf !important; border-radius: var(--ar-radius) !important; background-color: #fff; }
.brxe-form input:focus, .brxe-form textarea:focus, .woocommerce form .input-text:not(.qty):focus, .woocommerce form select:focus {
	border-color: var(--ar-dark) !important; outline: 2px solid rgba(227, 5, 19, .15); outline-offset: 0; }
.single_add_to_cart_button { text-transform: none !important; font-weight: 700 !important; letter-spacing: .5px !important; }
@media (max-width: 767px) {
	.ar-footer .brxe-text-basic { text-align: center; width: 100%; }
}

/* ---- Media kit page (inc/mediakit.php) ---- */
.ar-mk { max-width: 1280px; margin: 0 auto; }
.ar-mk__intro { max-width: 720px; margin: 0 0 20px; font-size: 16px; color: var(--ar-muted); }
.ar-mk__nav { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 12px 0; background: #fff; }
.ar-mk__nav a { padding: 8px 14px; border: 1px solid var(--ar-line); border-radius: 999px; color: var(--ar-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.ar-mk__nav a:hover { border-color: var(--ar-dark); }
.ar-mk__section { padding: 32px 0 8px; scroll-margin-top: 64px; }
.ar-mk__section h2 { margin: 0 0 4px; }
.ar-mk__section h3 { margin: 0; font-size: 20px; }
.ar-mk__group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 28px 0 12px; }
.ar-mk__zip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--ar-radius); background: var(--ar-red); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.ar-mk__zip::before { content: "↓"; }
.ar-mk__zip:hover { background: var(--ar-dark); color: #fff; }
.ar-mk__sub { margin: 0 0 16px; color: var(--ar-muted); font-size: 14px; }
.ar-mk__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ar-mk__grid--single { grid-template-columns: minmax(180px, 260px); }
.ar-mk__card { display: flex; flex-direction: column; margin: 0; border: 1px solid var(--ar-line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .15s, box-shadow .15s; }
.ar-mk__card:hover { border-color: #cfcfcf; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.ar-mk__thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: var(--ar-surface); }
.ar-mk__thumb img { width: 100%; height: 100%; object-fit: contain; }
.ar-mk__thumb--logo { padding: 18%; background: #fff; border-bottom: 1px solid var(--ar-line); }
.ar-mk__thumb--dark { background: var(--ar-dark); }
.ar-mk__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.ar-mk__label { color: var(--ar-dark); font-size: 14px; font-weight: 600; line-height: 1.35; }
.ar-mk__meta { color: var(--ar-muted); font-size: 12px; }
.ar-mk__dl { display: flex; gap: 6px; margin-top: 8px; }
.ar-mk__dl a { flex: 1; padding: 6px 8px; border-radius: var(--ar-radius); background: var(--ar-dark); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-align: center; text-decoration: none; }
.ar-mk__dl a::before { content: "↓ "; }
.ar-mk__dl a:hover { background: var(--ar-red); }
@media (max-width: 767px) {
	.ar-mk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.ar-mk__grid--single { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ar-mk__nav { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
	.ar-mk__nav a { flex: 0 0 auto; }
}

/* Product list title row: "Médiakit" link on the right. */
.ar-list-head { flex-direction: row !important; align-items: flex-end !important; justify-content: space-between; gap: 16px; }
.ar-mk-link { color: var(--ar-dark); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.ar-mk-link::after { content: " →"; color: var(--ar-red); }
.ar-mk-link:hover { color: var(--ar-red); }

/* Media kit → Termékadatok (inc/mediakit-products.php) */
.ar-mk__model { margin: 0 0 24px; padding: 28px; border: 1px solid var(--ar-line); border-radius: 16px; background: #fff; scroll-margin-top: 64px; }
.ar-mk__model > h3 { margin: 0 0 6px; font-size: 28px; }
.ar-mk__lead { margin: 0 0 20px; font-size: 16px; color: var(--ar-dark); }
.ar-mk__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ar-mk__model h4 { margin: 18px 0 6px; font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--ar-dark); }
.ar-mk__cols > div > h4:first-child { margin-top: 0; }
.ar-mk__model p { margin: 0 0 8px; font-size: 14px; line-height: 1.65; }
.ar-mk__features { margin: 0; padding-left: 1.2em; font-size: 14px; }
.ar-mk__features li { margin-bottom: 4px; }
.ar-mk__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ar-mk__table th, .ar-mk__table td { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--ar-line); text-align: left; vertical-align: top; }
.ar-mk__table th { width: 40%; font-weight: 600; color: var(--ar-muted); }
.ar-mk__sizes { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
.ar-mk__sizes tbody { display: contents; }
.ar-mk__sizes tr { display: flex; }
.ar-mk__sizes th { width: 28px; flex: 0 0 28px; color: var(--ar-red); font-weight: 700; }
.ar-mk__sizes td { flex: 1; }
.ar-mk__more { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--ar-red); text-decoration: none; }
.ar-mk__box { margin: 14px 0 0; font-size: 14px; }
.ar-mk__box summary { cursor: pointer; font-weight: 700; color: var(--ar-dark); }
.ar-mk__box ul { margin: 8px 0 0; padding-left: 1.2em; columns: 2; }
.ar-mk__copy { margin-top: 16px; padding: 8px 14px; border: 1px solid var(--ar-dark); border-radius: var(--ar-radius); background: #fff; color: var(--ar-dark); font: 700 13px/1 "Manrope", sans-serif; cursor: pointer; }
.ar-mk__copy::before { content: "⧉ "; }
.ar-mk__copy:hover, .ar-mk__copy.is-done { background: var(--ar-dark); color: #fff; }
.ar-mk__scroll { overflow-x: auto; }
.ar-mk__colours thead th { width: auto; border-bottom-color: var(--ar-dark); color: var(--ar-dark); white-space: nowrap; }
.ar-mk__colours td { white-space: nowrap; }
.ar-mk__video { margin-top: 14px !important; }
.ar-mk__video a { font-weight: 700; color: var(--ar-dark); }
@media (max-width: 767px) {
	.ar-mk__model { padding: 18px 16px; border-radius: 12px; }
	.ar-mk__cols { grid-template-columns: 1fr; gap: 8px; }
	.ar-mk__box ul { columns: 1; }
}
