/* Buttons: amber is the one main action on a screen. */
.button,
.wp-element-button,
.wp-block-button__link,
.wp-block-file__button,
button[type="submit"],
input[type="submit"],
.fluentform .ff-btn-submit,
.woocommerce-js div.product form.cart .button,
.woocommerce-js .woocommerce #place_order,
.woocommerce-js .woocommerce a.checkout-button,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce #respond input#submit,
body .woocommerce a.button.alt,
body .woocommerce button.button.alt {
	background: var(--wp--preset--color--amber);
	border: 2px solid var(--wp--preset--color--amber);
	border-radius: 4px;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	line-height: 1.2;
	min-height: 44px;
	padding: 0.7rem 1.4rem;
	text-decoration: none;
}

.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
.wp-block-file__button:hover,
.woocommerce-js div.product form.cart .button:hover,
.woocommerce-js .woocommerce #place_order:hover,
.woocommerce-js .woocommerce a.checkout-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.fluentform .ff-btn-submit:hover,
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce a.button.alt:hover,
body .woocommerce button.button.alt:hover {
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

/* Secondary action: outline, never amber. */
.is-style-outline > .wp-block-button__link,
body .woocommerce ul.products li.product .button,
.gh-secondary {
	background: transparent;
	border-color: var(--wp--preset--color--humus-dark);
	color: var(--wp--preset--color--humus-dark);
}

/* Tables: composition data reads like a lab sheet. */
.wp-block-table table,
.woocommerce-product-details__short-description table,
.gh-riqueza table {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
	width: 100%;
}

.wp-block-table td,
.wp-block-table th,
.woocommerce-product-details__short-description td,
.gh-riqueza td,
.gh-riqueza th {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	padding: 0.65rem 0.9rem;
	text-align: left;
}

.wp-block-table tr:first-child td,
.woocommerce-product-details__short-description tr:first-child td,
.gh-riqueza th {
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: transparent;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea,
.fluentform .ff-el-form-control {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--humus);
	border-radius: 4px;
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--body);
	min-height: 44px;
	padding: 0.6rem 0.8rem;
}

input:focus,
select:focus,
textarea:focus,
.fluentform .ff-el-form-control:focus {
	border-color: var(--wp--preset--color--ink);
	box-shadow: 0 0 0 3px var(--wp--preset--color--amber);
	outline: 0;
}

label,
.fluentform .ff-el-input--label label {
	color: var(--wp--preset--color--ink);
	font-weight: 700;
}

.fluentform .ff-el-is-error .text-danger,
.woocommerce-error {
	color: #9b1c1c;
}

/* Photo slot: an empty place for a photo from the photographer. */
.gh-photo-slot {
	align-items: center;
	background: repeating-linear-gradient(135deg, var(--wp--preset--color--paper), var(--wp--preset--color--paper) 14px, #e6ebe0 14px, #e6ebe0 28px);
	border: 2px dashed var(--wp--preset--color--humus);
	color: var(--wp--preset--color--humus-dark);
	display: flex;
	justify-content: center;
	margin: 0;
	min-height: 260px;
	padding: 1rem;
	text-align: center;
	width: 100%;
}

.gh-photo-slot::after {
	content: "Foto pendiente: " attr(data-label);
	font-weight: 700;
}

.button,
.wp-element-button,
.wp-block-button__link,
.wp-block-file .wp-block-file__button,
body .wp-block-file__button,
button,
input[type="submit"],
body .woocommerce a.button,
.main-header-menu .menu-link,
.entry-title,
.woocommerce-loop-product__title,
.widget-title,
h1, h2, h3, h4, h5, h6 {
	text-transform: none;
}

.wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--wp--preset--color--amber);
	border: 2px solid var(--wp--preset--color--amber);
	color: var(--wp--preset--color--ink);
}

.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid var(--wp--preset--color--humus-dark);
	color: var(--wp--preset--color--humus-dark);
}

.wp-block-buttons .wp-block-button .wp-block-button__link:hover {
	background: var(--wp--preset--color--ink);
	border-color: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
}

body .frm-fluent-form .ff-btn-submit {
	background-color: var(--wp--preset--color--amber) !important;
	border: 2px solid var(--wp--preset--color--amber) !important;
	color: var(--wp--preset--color--ink) !important;
	text-transform: none !important;
}

body .frm-fluent-form .ff-btn-submit:hover {
	background-color: var(--wp--preset--color--ink) !important;
	border-color: var(--wp--preset--color--ink) !important;
	color: var(--wp--preset--color--white) !important;
}
