/*!
Theme Name: Saara Joias Child
Theme URI: https://saarajoias.com.br/
Author: Saara Joias
Description: Child theme for Saara Joias. Keep structural theme customizations here and business/WooCommerce behavior in mu-plugins.
Template: hostinger-ai-theme
Version: 1.0.8
Requires at least: 5.6
Requires PHP: 8.1
Text Domain: saara-joias-child
*/

@media (min-width: 782px) {
	.hostinger-ai-menu .hostinger-ai-menu-wrapper {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: clamp(24px, 4vw, 56px) !important;
	}

	.hostinger-ai-menu .hostinger-ai-menu-wrapper > .wp-block-group:first-child {
		flex: 0 0 auto !important;
	}

	.hostinger-ai-menu .hostinger-ai-site-navigation-wrapper {
		display: flex !important;
		flex: 1 1 auto !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: 24px !important;
		min-width: 0 !important;
	}

	.hostinger-ai-menu .wp-block-navigation__container {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		gap: clamp(16px, 2vw, 28px) !important;
		flex-wrap: nowrap !important;
	}

	.hostinger-ai-menu .wp-block-navigation-item {
		white-space: nowrap !important;
	}
}

body.woocommerce-cart .saara-classic-cart-wrap {
	margin-bottom: 48px;
	padding: 24px;
	border: 1px solid #e3d6c2;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 42px rgba(36, 28, 22, .07);
}

body.woocommerce-cart .saara-classic-cart-wrap .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
	gap: 28px;
	align-items: start;
}

body.woocommerce-cart .saara-classic-cart-wrap .woocommerce:not(:has(.woocommerce-cart-form)) {
	display: block;
}

body.woocommerce-cart .saara-classic-cart-wrap .woocommerce-notices-wrapper,
body.woocommerce-cart .saara-classic-cart-wrap .woocommerce-message,
body.woocommerce-cart .saara-classic-cart-wrap .woocommerce-info,
body.woocommerce-cart .saara-classic-cart-wrap .woocommerce-error {
	grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce-cart-form {
	grid-column: 1;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
}

body.woocommerce-cart .cart-collaterals {
	grid-column: 2;
	width: 100%;
	min-width: 0;
}

body.woocommerce-cart .cart-collaterals:before,
body.woocommerce-cart .cart-collaterals:after {
	display: none;
}

body.woocommerce-cart table.shop_table {
	width: 100%;
	max-width: 100%;
	border-color: #eadfce;
	border-radius: 8px;
	background: #fffdf9;
	overflow: hidden;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td {
	border-color: #eadfce;
}

body.woocommerce-cart table.cart th.product-name,
body.woocommerce-cart table.cart td.product-name {
	width: auto;
}

body.woocommerce-cart table.cart thead {
	display: none;
}

body.woocommerce-cart table.cart tbody {
	display: block;
}

body.woocommerce-cart table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 24px 86px minmax(150px, 1fr) 86px 72px 86px;
	gap: 12px;
	align-items: center;
	padding: 18px;
	border-bottom: 1px solid #eadfce;
}

body.woocommerce-cart table.cart tr.cart_item td {
	padding: 0;
	border: 0;
}

body.woocommerce-cart table.cart th.product-price,
body.woocommerce-cart table.cart th.product-quantity,
body.woocommerce-cart table.cart th.product-subtotal,
body.woocommerce-cart table.cart td.product-price,
body.woocommerce-cart table.cart td.product-quantity,
body.woocommerce-cart table.cart td.product-subtotal {
	width: auto;
	text-align: right;
	white-space: nowrap;
}

body.woocommerce-cart table.cart td.product-thumbnail {
	width: 86px;
}

body.woocommerce-cart table.cart td.product-thumbnail img {
	width: 78px;
	height: 78px;
	object-fit: cover;
	border-radius: 6px;
	background: #fffaf2;
}

body.woocommerce-cart table.cart td.product-remove {
	width: 28px;
}

body.woocommerce-cart table.cart td.product-remove a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	color: #8d1f1f !important;
	font-size: 18px;
	text-decoration: none;
}

body.woocommerce-cart table.cart td.product-remove a:hover {
	background: #fff1ec;
}

body.woocommerce-cart table.cart td.product-name > a {
	color: #241c16;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.25;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

body.woocommerce-cart table.cart .variation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 12px;
	margin: 10px 0 0;
	padding: 10px;
	border-radius: 7px;
	background: #fffaf2;
	color: #4f463d;
	font-size: 13px;
	line-height: 1.3;
}

body.woocommerce-cart table.cart .variation dt,
body.woocommerce-cart table.cart .variation dd {
	margin: 0;
}

body.woocommerce-cart table.cart .variation dt {
	font-weight: 900;
}

body.woocommerce-cart table.cart .variation dd {
	font-weight: 700;
}

body.woocommerce-cart table.cart .variation p {
	margin: 0;
}

body.woocommerce-cart table.cart td.product-price,
body.woocommerce-cart table.cart td.product-subtotal {
	color: #315f50;
	font-size: 16px;
	font-weight: 900;
}

body.woocommerce-cart table.cart td.product-quantity .quantity {
	display: flex;
	justify-content: center;
}

body.woocommerce-cart table.cart td.product-quantity input.qty {
	width: 66px;
	min-height: 38px;
	border: 1px solid #d8c7a9;
	border-radius: 6px;
	background: #fff;
	color: #241c16;
	font-weight: 900;
	text-align: center;
}

body.woocommerce-cart table.cart tr:last-child:not(.cart_item) {
	display: block;
	padding: 14px 12px;
	background: #fffaf2;
}

body.woocommerce-cart table.cart td.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: flex-start;
	padding: 0 !important;
	border: 0;
}

body.woocommerce-cart table.cart td.actions .coupon {
	display: flex;
	gap: 8px;
	align-items: center;
}

body.woocommerce-cart table.cart td.actions .input-text {
	min-width: 210px;
	min-height: 44px;
	border: 1px solid #d8c7a9;
	border-radius: 6px;
	padding: 0 12px;
}

body.woocommerce-cart table.cart td.actions .button {
	min-height: 44px;
	border-radius: 6px;
	padding: 0 16px;
	font-weight: 900;
}

body.woocommerce-cart table.cart td.actions button[name="update_cart"] {
	margin-left: 0;
	border-color: #d8c7a9;
	background: #fff;
	color: #5f554b;
	box-shadow: none;
}

body.woocommerce-cart table.cart td.actions button[name="update_cart"]:not(:disabled):hover {
	border-color: #315f50;
	background: #eef6f1;
	color: #315f50;
}

body.woocommerce-cart table.cart td.actions button[name="update_cart"]:disabled {
	opacity: .55;
	cursor: not-allowed;
}

body.woocommerce-cart .cart_totals {
	float: none;
	width: auto;
	margin: 0;
	padding: 18px;
	border: 1px solid #d8c7a9;
	border-radius: 8px;
	background: #fffaf2;
	box-shadow: 0 14px 32px rgba(36, 28, 22, .07);
}

body.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
}

body.woocommerce-cart .cart_totals h2 {
	margin-top: 0;
	font-size: 22px;
}

body.woocommerce-cart .cart_totals table.shop_table {
	border-radius: 7px;
	background: #fff;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
	padding: 14px 12px;
	vertical-align: top;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
	background: #eef6f1;
	color: #315f50;
	font-size: 17px;
	font-weight: 950;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	border-radius: 6px;
	background: #315f50;
	color: #fff !important;
	font-weight: 900;
	box-shadow: 0 12px 26px rgba(49, 95, 80, .18);
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
	background: #274f42;
	color: #fff !important;
}

@media (max-width: 900px) {
	body.woocommerce-cart .saara-classic-cart-wrap .woocommerce {
		display: block;
	}

	body.woocommerce-cart .cart_totals {
		margin-top: 18px;
	}

	body.woocommerce-cart table.cart tr.cart_item {
		grid-template-columns: 24px 86px minmax(0, 1fr);
	}

	body.woocommerce-cart table.cart td.product-price,
	body.woocommerce-cart table.cart td.product-quantity,
	body.woocommerce-cart table.cart td.product-subtotal {
		grid-column: 3;
		width: auto;
		text-align: left;
	}

	body.woocommerce-cart table.cart td.product-quantity .quantity {
		justify-content: flex-start;
	}
}

@media (max-width: 640px) {
	body.woocommerce-cart .saara-classic-cart-wrap {
		padding: 10px;
	}

	body.woocommerce-cart .saara-classic-cart-wrap .woocommerce {
		display: block;
	}

	body.woocommerce-cart table.shop_table_responsive tbody {
		display: block;
		width: 100% !important;
	}

	body.woocommerce-cart table.shop_table_responsive,
	body.woocommerce-cart table.shop_table_responsive tbody,
	body.woocommerce-cart table.shop_table_responsive tr,
	body.woocommerce-cart table.shop_table_responsive td {
		max-width: 100% !important;
		box-sizing: border-box !important;
		overflow-wrap: break-word !important;
		white-space: normal !important;
	}

	body.woocommerce-cart table.shop_table_responsive tr.cart_item {
		display: grid !important;
		grid-template-columns: 76px minmax(0, 1fr) !important;
		gap: 10px 12px !important;
		align-items: start !important;
		width: 100% !important;
		padding: 14px !important;
		position: relative;
	}

	body.woocommerce-cart table.shop_table_responsive tr td::before {
		display: none !important;
	}

	body.woocommerce-cart table.cart td.product-thumbnail {
		display: block !important;
		grid-column: 1;
		grid-row: 1;
		width: 76px !important;
		padding: 0 !important;
		text-align: left !important;
	}

	body.woocommerce-cart table.cart td.product-thumbnail img {
		display: block;
		width: 72px;
		height: 72px;
		object-fit: cover;
	}

	body.woocommerce-cart table.cart td.product-remove {
		position: absolute;
		top: 10px;
		right: 10px;
		z-index: 2;
		width: 24px !important;
		padding: 0 !important;
	}

	body.woocommerce-cart table.cart td.product-name {
		grid-column: 2;
		grid-row: 1;
		width: auto !important;
		padding: 0 !important;
		padding-right: 28px !important;
		text-align: left !important;
	}

	body.woocommerce-cart table.cart td.product-name > a {
		display: block;
		font-size: 15px;
		line-height: 1.25;
		white-space: normal !important;
		word-break: normal;
		overflow-wrap: anywhere;
	}

	body.woocommerce-cart table.cart .variation {
		display: grid;
		grid-template-columns: 1fr;
		gap: 5px;
		margin-top: 8px;
		padding: 8px;
	}

	body.woocommerce-cart table.cart .variation dt,
	body.woocommerce-cart table.cart .variation dd {
		display: block;
		grid-column: auto !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
	}

	body.woocommerce-cart table.cart td.product-price,
	body.woocommerce-cart table.cart td.product-quantity,
	body.woocommerce-cart table.cart td.product-subtotal {
		grid-column: 1 / -1 !important;
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		width: 100% !important;
		padding: 8px 0 0 !important;
		text-align: right !important;
		border-top: 1px solid #f0e4d2;
	}

	body.woocommerce-cart table.cart td.product-price::before,
	body.woocommerce-cart table.cart td.product-quantity::before,
	body.woocommerce-cart table.cart td.product-subtotal::before {
		display: inline !important;
		color: #6b5e52;
		font-size: 12px;
		font-weight: 900;
	}

	body.woocommerce-cart table.cart td.product-price::before {
		content: "Preco";
	}

	body.woocommerce-cart table.cart td.product-quantity::before {
		content: "Quantidade";
	}

	body.woocommerce-cart table.cart td.product-subtotal::before {
		content: "Subtotal";
	}

	body.woocommerce-cart table.cart td.product-quantity .quantity {
		justify-content: flex-end;
	}

	body.woocommerce-cart table.cart tr:last-child:not(.cart_item) {
		padding: 12px;
	}

	body.woocommerce-cart table.cart td.actions,
	body.woocommerce-cart table.cart td.actions .coupon {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}

	body.woocommerce-cart table.cart td.actions .input-text,
	body.woocommerce-cart table.cart td.actions .button {
		width: 100%;
		min-width: 0;
	}

	body.woocommerce-cart .cart_totals {
		margin-top: 16px;
		padding: 14px;
	}

	body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
		min-height: 56px;
		font-size: 17px;
	}

	footer .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: block !important;
		position: static !important;
	}

	footer .wp-block-navigation__responsive-container-open {
		display: none !important;
	}

	footer .wp-block-navigation__container {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 10px !important;
	}
}
