/* ==========================================================================
   LikeInk — theme/Elementor override layer, shared by cart + checkout.

   The Elementor kit (elementor-kit-45118) and the parent theme style headings,
   form controls and buttons globally at a higher specificity than plain class
   rules, which otherwise rewrites this design (section titles at 19.4px,
   "Din order" at 40px, inputs at 7px padding / 4px radius, uppercase buttons
   with letter-spacing).

   Typography follows the site's own system, sampled from
   likeink.com/temporary-tattoos-for-businesses/:
     headings  roc-grotesk-wide, weight 600, UPPERCASE
     body/UI   roc-grotesk, weight 400
   Only the sizes and spacing are re-asserted here, so cart + checkout stay
   on-brand while still matching the layout in the mockup.

   Loaded last on both pages.
   ========================================================================== */

.likeink-cart-wrap,
.likeink-checkout-wrap,
.likeink-cart-wrap p,
.likeink-cart-wrap div,
.likeink-cart-wrap span,
.likeink-cart-wrap a,
.likeink-cart-wrap th,
.likeink-cart-wrap td,
.likeink-cart-wrap label,
.likeink-cart-wrap button,
.likeink-cart-wrap input,
.likeink-cart-wrap select,
.likeink-cart-wrap textarea,
.likeink-checkout-wrap p,
.likeink-checkout-wrap div,
.likeink-checkout-wrap span,
.likeink-checkout-wrap a,
.likeink-checkout-wrap th,
.likeink-checkout-wrap td,
.likeink-checkout-wrap label,
.likeink-checkout-wrap button,
.likeink-checkout-wrap input,
.likeink-checkout-wrap select,
.likeink-checkout-wrap textarea {
	font-family: roc-grotesk, sans-serif !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* Page headings use the brand's display face, uppercase. */
.likeink-cart-wrap h1,
.likeink-cart-wrap h2,
.likeink-checkout-wrap h1,
.likeink-checkout-wrap h2 {
	font-family: roc-grotesk-wide, sans-serif !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: normal !important;
	line-height: 1.05 !important;
	margin-top: 0 !important;
	color: var(--likeink-ink) !important;
}

.likeink-cart-wrap .likeink-cart-header h1 {
	font-size: 30px !important;
}

/* Numbered section titles: same display face, scaled down so they read as
   section labels rather than page headings. */
.likeink-cart-wrap .likeink-checkout-section__title,
.likeink-checkout-wrap .likeink-checkout-section__title,
.likeink-cart-wrap h3,
.likeink-checkout-wrap h3 {
	font-family: roc-grotesk-wide, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: normal !important;
	line-height: 1.2 !important;
	margin-top: 0 !important;
	color: var(--likeink-ink) !important;
}

/* "Expressbetalning" is a lead-in above the wallet buttons, not a section
   heading — it takes the same weight and size as a product title so it sits
   quietly in the hierarchy. */
.likeink-cart-wrap .likeink-express-heading,
.likeink-checkout-wrap .likeink-express-heading {
	font-family: roc-grotesk, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1.35 !important;
	/* Overrides the shared "margin-top: 0" on headings above, so the wallet
	   block gets breathing room from whatever sits before it. */
	margin-top: 20px !important;
}

/* Small uppercase labels (step names, payment chips) — the mockup used a mono
   face here; on brand that becomes roc-grotesk with tracking. */
.likeink-cart-wrap .likeink-stepper li,
.likeink-checkout-wrap .likeink-stepper li,
.likeink-cart-wrap .likeink-cart-summary__payment-icons span {
	font-family: roc-grotesk, sans-serif !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
	font-weight: 600 !important;
}

/* Stepper links inherit the step colour rather than the theme's link blue. */
.likeink-cart-wrap .likeink-stepper li a,
.likeink-checkout-wrap .likeink-stepper li a {
	color: inherit !important;
	text-decoration: none !important;
}

.likeink-checkout-wrap .likeink-checkout-section__num,
.likeink-cart-wrap .likeink-checkout-section__num {
	width: 22px !important;
	height: 22px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	font-family: roc-grotesk, sans-serif !important;
}

.likeink-cart-wrap .likeink-cart-header__count {
	white-space: nowrap !important;
	font-size: 14px !important;
	color: var(--likeink-muted) !important;
}

/* ---------- Form controls ---------- */

/* :not(.select2-hidden-accessible) matters — WooCommerce enhances the country
   and state selects with SelectWoo, which keeps the real <select> in the DOM
   only for accessibility. Forcing display/height on it made both the native
   control and the SelectWoo widget visible, which is where the duplicated
   dropdown arrow came from. */
.likeink-checkout-wrap .input-text,
.likeink-checkout-wrap input[type='text'],
.likeink-checkout-wrap input[type='email'],
.likeink-checkout-wrap input[type='tel'],
.likeink-checkout-wrap select:not(.select2-hidden-accessible),
.likeink-checkout-wrap textarea {
	font-size: 14px !important;
	line-height: 1.4 !important;
	padding: 12px 13px !important;
	height: auto !important;
	border-radius: var(--likeink-radius-md) !important;
	border: 1px solid var(--likeink-border-strong) !important;
	background-color: #fff !important;
	box-shadow: none !important;
}

/* SelectWoo widget, styled to sit flush with the plain inputs above. */
.likeink-checkout-wrap .select2-container--default .select2-selection--single {
	height: auto !important;
	border: 1px solid var(--likeink-border-strong) !important;
	border-radius: var(--likeink-radius-md) !important;
	background: #fff !important;
	padding: 12px 13px !important;
}

.likeink-checkout-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.4 !important;
	padding: 0 !important;
	color: var(--likeink-ink) !important;
	font-size: 14px !important;
}

.likeink-checkout-wrap .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100% !important;
	top: 0 !important;
	right: 8px !important;
}

.likeink-checkout-wrap .input-text:focus,
.likeink-checkout-wrap select:focus,
.likeink-checkout-wrap textarea:focus {
	outline: 2px solid var(--likeink-accent) !important;
	outline-offset: 1px !important;
	border-color: var(--likeink-border-strong) !important;
}

.likeink-checkout-wrap .form-row label:not(.checkbox) {
	font-size: 13px !important;
	font-weight: 400 !important;
	color: #000 !important;
	margin-bottom: 6px !important;
	text-transform: none !important;
}

/* ---------- Quantity stepper ----------
   A compact pill: the field sizing above and the SMNTCS quantity-buttons
   plugin both otherwise blow this out to full-size form controls. */

.likeink-cart-wrap .likeink-qty-stepper {
	border: 1px solid var(--likeink-border-strong) !important;
	border-radius: var(--likeink-radius-pill) !important;
	overflow: hidden !important;
	background: #fff !important;
}

.likeink-cart-wrap .likeink-qty-step {
	width: 28px !important;
	height: 28px !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	color: var(--likeink-ink) !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
}

.likeink-cart-wrap .likeink-qty-step:hover {
	background: var(--likeink-tint) !important;
}

.likeink-cart-wrap .likeink-qty-input {
	width: 26px !important;
	height: 28px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	text-align: center !important;
	box-shadow: none !important;
}

/* ---------- Buttons and links ---------- */

.likeink-cart-wrap .likeink-cart-summary__actions .checkout-button,
.likeink-checkout-wrap .likeink-checkout-pay-proxy,
.likeink-checkout-wrap #place_order {
	display: block !important;
	width: 100% !important;
	background: var(--likeink-ink) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--likeink-radius-pill) !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	padding: 16px !important;
	text-align: center !important;
}

.likeink-cart-wrap .likeink-cart-summary__actions .checkout-button:hover,
.likeink-checkout-wrap .likeink-checkout-pay-proxy:hover,
.likeink-checkout-wrap #place_order:hover {
	background: var(--likeink-accent-dark) !important;
}

.likeink-cart-wrap .likeink-cart-summary__secondary,
.likeink-cart-wrap .likeink-btn-outline {
	display: block !important;
	width: 100% !important;
	background: none !important;
	color: var(--likeink-ink) !important;
	border: 1px solid var(--likeink-border-strong) !important;
	border-radius: var(--likeink-radius-pill) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	padding: 13px !important;
	text-align: center !important;
}

.likeink-cart-wrap .likeink-cart-summary__secondary:hover,
.likeink-cart-wrap .likeink-btn-outline:hover {
	border-color: var(--likeink-ink) !important;
	background: none !important;
	color: var(--likeink-ink) !important;
}

/* Coupon "Lägg till" */
.likeink-cart-wrap .likeink-coupon-form button {
	border: 1px solid var(--likeink-ink) !important;
	background: none !important;
	color: var(--likeink-ink) !important;
	border-radius: var(--likeink-radius-md) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 0 14px !important;
	text-transform: none !important;
}

.likeink-cart-wrap .likeink-coupon-form button:hover {
	background: var(--likeink-ink) !important;
	color: #fff !important;
}

/* Inline text links keep the brand's underline treatment, not the theme's
   button styling. */
.likeink-cart-wrap .likeink-remove-item,
.likeink-cart-wrap .likeink-remove-coupon {
	background: none !important;
	border: 0 !important;
	padding: 6px 0 0 !important;
	font-size: 12px !important;
	font-weight: 400 !important;
	color: var(--likeink-muted) !important;
	text-transform: none !important;
	text-decoration: underline !important;
}

.likeink-cart-wrap .likeink-remove-item:hover {
	color: var(--likeink-accent-dark) !important;
}

/* ---------- Cart totals table ---------- */

.likeink-cart-wrap .likeink-totals-table th,
.likeink-cart-wrap .likeink-totals-table td {
	background: none !important;
	border: 0 !important;
	font-size: 14px !important;
	padding: 7px 0 !important;
	text-transform: none !important;
}

/* Every summary row (Delsumma, Frakt, Moms, Totalt) shares one treatment —
   same size and weight as the total, amounts in black rather than grey. */
.likeink-cart-wrap .likeink-totals-table th,
.likeink-cart-wrap .likeink-totals-table td,
.likeink-checkout-wrap .likeink-order-table tfoot th,
.likeink-checkout-wrap .likeink-order-table tfoot td {
	color: var(--likeink-ink) !important;
}

.likeink-cart-wrap .likeink-totals-total th,
.likeink-cart-wrap .likeink-totals-total td,
.likeink-checkout-wrap .likeink-order-table tfoot th,
.likeink-checkout-wrap .likeink-order-table tfoot td {
	font-family: roc-grotesk, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* The design's summary cards carry no heading; keep it for screen readers. */
.likeink-cart-wrap .likeink-cart-summary__title,
.likeink-checkout-wrap #order_review_heading {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* ==========================================================================
   Brand button treatment.

   3px corners on every button so cart + checkout match the rest of the site
   (the design's pill shape is dropped deliberately). The B2B switch and the
   free-shipping progress bar keep their round ends — they are controls and
   indicators, not buttons.
   ========================================================================== */

.likeink-cart-wrap .likeink-cart-summary__actions .checkout-button,
.likeink-cart-wrap .likeink-cart-summary__secondary,
.likeink-cart-wrap .likeink-btn,
.likeink-cart-wrap .likeink-coupon-form button,
.likeink-cart-wrap .likeink-qty-stepper,
.likeink-cart-wrap .likeink-sticky-mobile__btn,
.likeink-checkout-wrap .likeink-checkout-pay-proxy,
.likeink-checkout-wrap #place_order,
.likeink-checkout-wrap .likeink-vat-validate-btn,
.likeink-checkout-wrap .checkout_coupon .button {
	border-radius: 3px !important;
}

/* Primary call to action.

   Text is #c5e39a rather than the brand's #9bbf5d: against #2d6947 that gives
   4.6:1, clearing WCAG AA for this size, where #9bbf5d measured 3.1:1 — under
   the 4.5:1 needed below 24px (or 18.7px bold). Same hue, a few steps lighter. */
.likeink-checkout-wrap .likeink-checkout-pay-proxy,
.likeink-checkout-wrap #place_order,
.likeink-cart-wrap .likeink-cart-summary__actions .checkout-button {
	background: #2d6947 !important;
	color: #c5e39a !important;
}

.likeink-checkout-wrap .likeink-checkout-pay-proxy:hover,
.likeink-checkout-wrap #place_order:hover,
.likeink-cart-wrap .likeink-cart-summary__actions .checkout-button:hover {
	background: #24553a !important;
	color: #d3edb0 !important;
}

/* Terms / privacy links. */
.likeink-checkout-wrap .woocommerce-terms-and-conditions-wrapper a,
.likeink-checkout-wrap .woocommerce-privacy-policy-link,
.likeink-checkout-wrap .woocommerce-terms-and-conditions-link {
	color: #fb9923 !important;
}
