/*
 * Base — thin normalize (not Tailwind Preflight).
 *
 * Replaces Divi’s old global resets without resetting lists/headings/buttons
 * that typography.css / buttons.css / WooCommerce own.
 *
 * Load after variables, before utilities.
 */

/* -------------------------------------------------------------------------
   Box model
   ------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* -------------------------------------------------------------------------
   Document
   ------------------------------------------------------------------------- */

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
}

/* -------------------------------------------------------------------------
   Media
   ------------------------------------------------------------------------- */

img,
video,
canvas {
	max-width: 100%;
	height: auto;
}

img {
	border-style: none;
}

/* -------------------------------------------------------------------------
   Forms — inherit type; keep native look (buttons.css styles .led-btn)
   ------------------------------------------------------------------------- */

button,
input,
optgroup,
select,
textarea {
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
	margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
	cursor: pointer;
}

textarea {
	resize: vertical;
}

/* -------------------------------------------------------------------------
   Links / misc
   ------------------------------------------------------------------------- */

a {
	background-color: transparent;
}

[hidden] {
	display: none !important;
}
