/* ==========================================================================
   Flatsome / WooCommerce pages: product, archives, cart, checkout, account
   ========================================================================== */

.mac-theme {
	--mac-card: 14px;
	--mac-card-lg: 24px;
	--mac-peach: #ffd3a3;
	--fs-color-primary: var(--mac-accent);
	--primary-color: var(--mac-accent);
}

.mac-theme a:hover { color: var(--mac-accent); }
.mac-theme .mac-header a:hover, .mac-theme .mac-footer a:hover { color: inherit; }
.mac-theme .box-image,
.mac-theme .woocommerce-product-gallery__image,
.mac-theme .product-thumbnails .col a { background: var(--mac-soft); }

/* Buttons ---------------------------------------------------------------- */

.mac-theme .button,
.mac-theme button[type="submit"],
.mac-theme input[type="submit"] {
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: .01em;
	text-transform: none;
}

.mac-theme .button.primary:not(.is-outline),
.mac-theme .button.alt,
.mac-theme button.alt,
.mac-theme input[type="submit"].button,
.mac-theme .single_add_to_cart_button,
.mac-theme .checkout-button,
.mac-theme #place_order,
.mac-theme .woocommerce-mini-cart__buttons .checkout {
	background-color: var(--mac-accent) !important;
	border-color: var(--mac-accent) !important;
	color: #fff !important;
}
.mac-theme .button.primary:not(.is-outline):hover,
.mac-theme .button.alt:hover,
.mac-theme .single_add_to_cart_button:hover,
.mac-theme .checkout-button:hover,
.mac-theme #place_order:hover {
	background-color: var(--mac-accent-dark) !important;
	border-color: var(--mac-accent-dark) !important;
	box-shadow: none;
}

.mac-theme .button.is-outline,
.mac-theme .button.is-form:not(.minus):not(.plus),
.mac-theme .button.wc-backward,
.mac-theme .continue-shopping .button,
.mac-theme button[name="update_cart"],
.mac-theme button[name="apply_coupon"] {
	border: 1.5px solid var(--mac-text) !important;
	background: transparent !important;
	color: var(--mac-text) !important;
	box-shadow: none;
}
.mac-theme .button.is-outline:hover,
.mac-theme .button.is-form:not(.minus):not(.plus):hover,
.mac-theme .button.wc-backward:hover,
.mac-theme .continue-shopping .button:hover,
.mac-theme button[name="update_cart"]:not(:disabled):hover,
.mac-theme button[name="apply_coupon"]:hover {
	background: var(--mac-text) !important;
	color: #fff !important;
}
.mac-theme button[name="update_cart"]:disabled { opacity: .35; }
.mac-theme .dark .button.is-outline { border-color: #fff !important; color: #fff !important; }
.mac-theme .dark .button.is-outline:hover { background: #fff !important; color: var(--mac-text) !important; }

.mac-theme .woocommerce-form-login__submit,
.mac-theme .woocommerce-form-register__submit,
.mac-theme .woocommerce-Button,
.mac-theme .woocommerce-button.button:not(.is-outline):not(.is-form),
.mac-theme .track_order button[type="submit"],
.mac-theme .button.secondary {
	min-height: 46px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--mac-text) !important;
	color: #fff !important;
	text-transform: none;
	letter-spacing: 0;
}
.mac-theme .woocommerce-form-login__submit:hover,
.mac-theme .woocommerce-form-register__submit:hover,
.mac-theme .woocommerce-Button:hover,
.mac-theme .woocommerce-button.button:not(.is-outline):not(.is-form):hover,
.mac-theme .track_order button[type="submit"]:hover,
.mac-theme .button.secondary:hover { background: var(--mac-accent) !important; }

/* Badges ----------------------------------------------------------------- */

.mac-theme .badge-container .badge-inner,
.mac-theme .badge-inner.on-sale {
	border-radius: 999px;
	background: var(--mac-accent);
	font-family: var(--mac-font);
	font-size: 12px;
	font-weight: 600;
}
.mac-theme .badge.badge-circle,
.mac-theme .badge.badge-circle-inside { width: auto; height: auto; min-width: 0; }
.mac-theme .badge-circle .badge-inner,
.mac-theme .badge-circle-inside .badge-inner { padding: 6px 10px; border-radius: 999px; }

/* Page titles, breadcrumbs ----------------------------------------------- */

.mac-theme .shop-page-title,
.mac-theme .category-page-title,
.mac-theme .page-title { background: transparent; }
.mac-theme .shop-page-title.featured-title .page-title-bg,
.mac-theme .shop-page-title.featured-title .title-overlay { display: none; }
.mac-theme .shop-page-title.featured-title,
.mac-theme .shop-page-title.featured-title h1,
.mac-theme .shop-page-title.featured-title .breadcrumbs,
.mac-theme .shop-page-title.featured-title .breadcrumbs a { color: var(--mac-text) !important; text-shadow: none; }
.mac-theme .page-title-inner { padding-top: 24px; }

.mac-theme .woocommerce-breadcrumb,
.mac-theme .breadcrumbs {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mac-muted);
}
.mac-theme .breadcrumbs a { color: var(--mac-muted); }
.mac-theme .breadcrumbs a:hover { color: var(--mac-text); }

.mac-theme .page-title:not(.shop-page-title) h1,
.mac-theme .entry-header .entry-title,
.mac-theme h1.entry-title,
.mac-theme .page-title-inner h1 {
	font-family: var(--mac-serif);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: var(--mac-text);
}
.mac-theme .entry-content { font-size: 15px; line-height: 1.7; }

.mac-prose-page .page-wrapper { padding-top: 40px; padding-bottom: 32px; }
.mac-theme.mac-prose-page .page-wrapper > .row.row-main { max-width: 880px; }
.mac-prose-page .page-wrapper .col-inner { font-size: 15px; line-height: 1.75; }
.mac-prose-page .page-wrapper .col-inner h2,
.mac-prose-page .page-wrapper .col-inner h3,
.mac-prose-page .page-wrapper .col-inner h4 {
	margin: 32px 0 10px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
}
.mac-prose-page .page-wrapper .col-inner > h1 {
	margin: 36px 0 12px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
}
.mac-prose-page .page-wrapper .col-inner .alt-font { font-family: var(--mac-font) !important; }
.mac-prose-page .page-wrapper .col-inner span[style*="font-size"] { font-size: inherit !important; }
.mac-prose-page .page-wrapper .col-inner [style*="color"] { color: inherit !important; }
.mac-prose-page .page-wrapper .col-inner img { border-radius: var(--mac-card); }
.mac-prose-page .page-wrapper .col-inner a:not(.button) { color: var(--mac-accent); text-decoration: underline; text-underline-offset: 2px; }
.mac-page-head { margin-bottom: 28px; text-align: center; }
.mac-theme .mac-page-head h1 {
	margin: 0;
	font-family: var(--mac-serif);
	font-size: clamp(30px, 3.2vw, 40px);
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
}
.mac-page-head::after {
	content: "";
	display: block;
	width: 36px;
	height: 2px;
	margin: 16px auto 0;
	background: var(--mac-line);
}
.mac-theme .entry-content h2,
.mac-theme .entry-content h3 { font-weight: 600; text-transform: none; letter-spacing: 0; }
.mac-theme .widget-title,
.mac-theme .shop-sidebar .widget-title { text-transform: none; letter-spacing: 0; font-weight: 600; }

/* Category archives ------------------------------------------------------ */

.mac-theme .shop-page-title { margin-top: 24px; }
.mac-theme .shop-page-title .page-title-inner > .flex-col:first-child {
	display: flex;
	flex-direction: column-reverse;
	gap: 10px;
}
.mac-theme .shop-page-title h1.shop-page-title,
.mac-theme .shop-page-title.featured-title h1 {
	margin: 0;
	font-family: var(--mac-serif) !important;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 500;
	line-height: 1.15;
	text-transform: none;
}
.mac-theme .woocommerce-result-count { font-size: 14px; color: var(--mac-muted); }
.mac-theme .woocommerce-ordering select,
.mac-theme .shop-page-title select {
	height: 40px;
	border: 1.5px solid var(--mac-line);
	border-radius: 999px;
	background-color: var(--mac-surface);
	box-shadow: none;
	font-size: 14px;
	color: var(--mac-text);
}
.mac-theme .shop-container .product-small .badge-container { display: none; }
.mac-theme .shop-container .products.row,
.mac-theme .shop-container .products.row.row-small { max-width: none; }

.mac-theme .products .col-inner,
.mac-theme .product-small.box,
.mac-theme .product-small .box { background: transparent; }
.mac-theme .products .product-small.col { padding-bottom: 22px; }
.mac-theme .product-small .box-image { overflow: hidden; border-radius: var(--mac-card); }
.mac-theme .product-small .box-image img { transition: transform .45s ease; }
.mac-theme .product-small:hover .box-image img { transform: scale(1.05); }
.mac-theme .product-small .box-text { padding: 10px 0 0; text-align: left; }
.mac-theme .product-small .category { display: none; }
.mac-theme .product-small .name,
.mac-theme .product-small .product-title {
	display: -webkit-box;
	overflow: hidden;
	min-height: 2.7em;
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--mac-text);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.mac-theme .product-small .name a { display: inline; }
.mac-theme .product-small .price-wrapper .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 16px; }
.mac-theme .product-small .button { text-transform: none; letter-spacing: 0; }

.mac-theme .price,
.mac-theme .price ins,
.mac-theme .price > .amount,
.mac-theme .price ins .amount { color: var(--mac-text); font-weight: 500; text-decoration: none; }
.mac-theme .price del,
.mac-theme .price del .amount { font-size: .82em; font-weight: 400; color: var(--mac-muted); opacity: 1; }
.mac-theme .price del + ins,
.mac-theme .price del + ins .amount,
.mac-theme .price ins .amount { color: var(--mac-accent); }

.mac-theme .page-numbers.nav-pagination > li > a,
.mac-theme .page-numbers.nav-pagination > li > span {
	border: 1.5px solid var(--mac-line);
	border-radius: 999px;
	color: var(--mac-text);
	font-weight: 500;
}
.mac-theme .page-numbers.nav-pagination > li > .current,
.mac-theme .page-numbers.nav-pagination > li > a:hover {
	background: var(--mac-text);
	border-color: var(--mac-text);
	color: #fff;
}

.mac-explore { margin: 48px 0 16px; text-align: center; }
.mac-explore h2 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; }
.mac-explore p { margin: 0 0 20px; color: var(--mac-muted); }

/* Single product --------------------------------------------------------- */

.mac-theme.single-product .product-main > .row,
.mac-theme.single-product .product-footer .container,
.mac-theme.single-product .related { max-width: 1240px; }
.mac-theme .product-main { padding-top: 28px; }

@media (min-width: 850px) {
	.mac-theme .product-main .product-gallery.large-6 { flex-basis: 56%; max-width: 56%; padding-right: 40px; }
	.mac-theme .product-main .product-info.large-6 { flex-basis: 44%; max-width: 44%; }
}

.mac-theme .product-gallery .woocommerce-product-gallery__image,
.mac-theme .product-gallery-slider .slide img,
.mac-theme .product-gallery-slider { border-radius: var(--mac-card-lg); }
.mac-theme .product-gallery-slider { overflow: hidden; }
.mac-theme .product-gallery .badge-container { margin: 16px; }
.mac-theme .vertical-thumbnails .col a,
.mac-theme .product-thumbnails .col a {
	overflow: hidden;
	aspect-ratio: 1;
	border: 2px solid transparent;
	border-radius: 12px;
}
.mac-theme .product-thumbnails .col img { width: 100%; height: 100%; object-fit: cover; }
.mac-theme .vertical-thumbnails { scrollbar-width: none; }
.mac-theme .vertical-thumbnails::-webkit-scrollbar { display: none; }
.mac-theme .vertical-thumbnails .is-nav-selected a,
.mac-theme .product-thumbnails .is-nav-selected a { border-color: var(--mac-text); }
.mac-theme .product-thumbnails a:hover,
.mac-theme .product-thumbnails .is-nav-selected a { transform: none; }
.mac-theme .product-thumbnails img,
.mac-theme .vertical-thumbnails img { opacity: 1 !important; }

.mac-theme .product-info .next-prev-thumbs,
.mac-theme .product-info .is-divider { display: none; }
.mac-theme .product-info .breadcrumbs { margin-bottom: 10px; }
.mac-theme .product-info .product-title {
	margin-bottom: 8px;
	font-family: var(--mac-font);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	color: var(--mac-text);
}
.mac-theme .product-info .price-wrapper .price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 8px 0 20px;
	font-size: 28px;
}
.mac-theme .product-info { font-size: 15px; }
.mac-theme .product-info .price del { font-size: 18px; }
.mac-save {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fde6d8;
	color: var(--mac-accent-dark);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
}

/* WCPA option fields */
.mac-theme .wcpa_form_outer { margin: 0 0 8px; }
.mac-theme .wcpa_form_outer .wcpa_form_item { margin-bottom: 18px; }
.mac-theme .wcpa_form_outer .wcpa_form_item > label {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--mac-text);
}
.mac-theme .wcpa_form_outer .wcpa_helptext { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--mac-muted); }
.mac-theme .wcpa_form_outer select {
	height: 46px;
	padding: 0 40px 0 18px;
	border: 1.5px solid var(--mac-line);
	border-radius: 999px;
	background-color: var(--mac-surface);
	box-shadow: none;
	font-size: 14px;
}
.mac-theme .wcpa_form_outer select:focus { border-color: var(--mac-text); }
.mac-theme .wcpa_form_outer .color-group,
.mac-theme .wcpa_form_outer .radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.mac-theme .wcpa_form_outer .radio-group.radio-inline { margin: 0 !important; }
.mac-theme .wcpa_form_outer .wcpa_color { position: relative; margin: 7.5px 3px 7.5px 0 !important; }
.mac-theme .wcpa_form_outer .wcpa_radio { position: relative; margin: 0 !important; }
.mac-theme .wcpa_form_outer .wcpa_color label,
.mac-theme .wcpa_form_outer .wcpa_radio label {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 52px;
	min-height: 40px;
	margin: 0 !important;
	padding: 4px 14px 4px 6px;
	border: 1.5px solid var(--mac-line);
	border-radius: 999px;
	background: var(--mac-surface);
	font-size: 13px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: var(--mac-text);
	cursor: pointer;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.mac-theme .wcpa_form_outer .wcpa_form_item .color-group .wcpa_color label { font-size: 13px; color: var(--mac-text); }
.mac-theme .wcpa_form_outer .wcpa_radio label { min-width: 60px; padding: 4px 18px; }
.mac-theme .wcpa_form_outer .wcpa_radio input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.mac-theme .wcpa_form_outer .wcpa_radio .wcpa_check { display: none !important; }
.mac-theme .wcpa_form_outer .wcpa_color label:hover,
.mac-theme .wcpa_form_outer .wcpa_radio label:hover { border-color: var(--mac-text); }
.mac-theme .wcpa_form_outer .wcpa_color input:checked + label {
	border-color: var(--mac-text);
	box-shadow: inset 0 0 0 1px var(--mac-text);
}
.mac-theme .wcpa_form_outer .wcpa_radio input:checked + label {
	border-color: var(--mac-text);
	background: var(--mac-text);
	color: #fff;
}
.mac-theme .wcpa_form_outer .wcpa_radio input:focus-visible + label,
.mac-theme .wcpa_form_outer .wcpa_color input:focus-visible + label { outline: 2px solid var(--mac-accent); outline-offset: 2px; }
.mac-theme .wcpa_form_outer .wcpa_color .disp_squircle {
	width: 28px !important;
	height: 28px !important;
	margin: 0 !important;
	border-radius: 50% !important;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.mac-theme .wcpa_price_summary { flex-basis: 100%; font-size: 14px; }
.mac-theme .wcpa_price_summary ul { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--mac-line); }

/* Quantity + add to cart. WCPA forces form.cart to display:block !important. */
.mac-theme.single-product div.product .product-info form.cart {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
}
.mac-theme form.cart .wcpa_form_outer { flex-basis: 100%; }
.mac-theme .quantity,
.mac-theme .ux-quantity { margin: 0; opacity: 1; }
.mac-theme .ux-quantity .button,
.mac-theme .ux-quantity input[type="number"] {
	height: 50px;
	border-color: var(--mac-line);
	background: var(--mac-surface);
	box-shadow: none;
}
.mac-theme .cart .ux-quantity .button,
.mac-theme .cart .ux-quantity input[type="number"] { height: 36px; }
.mac-theme .quantity .minus,
.mac-theme .quantity .plus { min-width: 34px; }
.mac-theme .ux-quantity__button--minus { border-radius: 999px 0 0 999px !important; }
.mac-theme .ux-quantity__button--plus { border-radius: 0 999px 999px 0 !important; }
.mac-theme.single-product .product-info form.cart .single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 220px;
	min-height: 50px;
	margin: 0;
	font-size: 16px;
	box-shadow: 0 10px 20px rgba(240, 103, 36, .25);
}

.mac-perks {
	display: grid;
	gap: 10px;
	margin: 20px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--mac-line);
	border-radius: var(--mac-card);
	background: var(--mac-surface);
	list-style: none;
}
.mac-theme .mac-perks li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	color: var(--mac-text);
}
.mac-perks .mac-icon { width: 20px; height: 20px; color: var(--mac-accent); }

.mac-theme .product-info .product_meta { margin-top: 20px; font-size: 13px; color: var(--mac-muted); }
.mac-theme .product-info .product_meta > span { border-top-color: var(--mac-line); }
.mac-theme .product-info .social-icons .icon { border-color: var(--mac-line); color: var(--mac-muted); }

/* Product sections as a collapsed accordion */
.mac-theme .product-page-accordian { margin-top: 28px; border-bottom: 1px solid var(--mac-line); }
.mac-theme .product-page-accordian > .accordion > .accordion-item > .accordion-title {
	position: relative;
	padding: 18px 40px 18px 0;
	border-top: 1px solid var(--mac-line);
	font-size: 17px;
	font-weight: 600;
	color: var(--mac-text);
}
.mac-theme .product-page-accordian > .accordion > .accordion-item > .accordion-title .toggle {
	left: auto;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}
.mac-theme .product-page-accordian > .accordion > .accordion-item > .accordion-title.active .toggle i { transform: rotate(180deg); }
.mac-theme .product-page-accordian > .accordion > .accordion-item > .accordion-inner { padding: 4px 0 24px; font-size: 15px; line-height: 1.7; }
.mac-theme .product-page-accordian .wp-caption { max-width: 100%; margin-inline: auto; background: transparent; }
.mac-theme .product-page-accordian .wp-caption img { border-radius: var(--mac-card); background: var(--mac-soft); }
.mac-theme .product-page-accordian .wp-caption-text { font-size: 13px; color: var(--mac-muted); }

.mac-theme .product-section-title,
.mac-theme .product-section-title-related {
	max-width: none;
	margin: 40px 0 8px;
	padding-left: 0;
	padding-right: 0;
	font-family: var(--mac-serif);
	font-size: 28px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}
.mac-theme .star-rating span::before,
.mac-theme .star-rating::before { color: var(--mac-text); }
.mac-theme .star-rating::before { opacity: .18; }

/* Forms ------------------------------------------------------------------ */

.mac-theme input[type="text"],
.mac-theme input[type="email"],
.mac-theme input[type="tel"],
.mac-theme input[type="password"],
.mac-theme input[type="search"]:not(.mac-search__input),
.mac-theme input[type="number"]:not(.qty),
.mac-theme textarea,
.mac-theme .woocommerce select,
.mac-theme .select2-container .select2-selection--single {
	min-height: 46px;
	border: 1.5px solid var(--mac-line);
	border-radius: 10px;
	background-color: var(--mac-surface);
	box-shadow: none;
	font-size: 15px;
	color: var(--mac-text);
}
.mac-theme .select2-container .select2-selection--single .select2-selection__rendered { line-height: 43px; }
.mac-theme .select2-container .select2-selection--single .select2-selection__arrow { height: 43px; }
.mac-theme input:focus,
.mac-theme textarea:focus,
.mac-theme select:focus,
.mac-theme .select2-container--focus .select2-selection--single { border-color: var(--mac-text); box-shadow: none; }
.mac-theme .woocommerce form .form-row label,
.mac-theme .woocommerce-form label,
.mac-theme form .form-row label {
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: var(--mac-text);
}

/* Notices ---------------------------------------------------------------- */

.mac-theme .woocommerce-message,
.mac-theme .woocommerce-info,
.mac-theme .woocommerce-error {
	padding: 12px 16px;
	border: 1px solid var(--mac-line);
	border-radius: var(--mac-card);
	background: var(--mac-surface);
	font-size: 14px;
	color: var(--mac-text);
}
.mac-theme .woocommerce-message .icon-checkmark,
.mac-theme .message-container .icon-checkmark { color: #2f8f4e; }
.mac-theme .woocommerce-message .button,
.mac-theme .message-container .button {
	min-height: 34px;
	margin: 0 0 0 12px;
	padding: 0 16px;
	line-height: 34px;
	font-size: 13px;
}
.mac-theme .woocommerce-info .message-container { padding: 0; }

/* Cart and checkout ------------------------------------------------------ */

.mac-theme .cart-container,
.mac-theme .cart-container > .woocommerce > .row,
.mac-theme .cart-container form.checkout > .row { max-width: 1240px; }
.mac-theme .cart-container { padding-bottom: 24px; }

.mac-theme .checkout-page-title { background: transparent; }
.mac-theme .checkout-breadcrumbs {
	font-size: 15px;
	text-transform: none;
	letter-spacing: 0;
}
.mac-theme .checkout-breadcrumbs a {
	font-size: 15px;
	font-weight: 500;
	text-transform: none;
	color: var(--mac-muted);
}
.mac-theme .checkout-breadcrumbs a.current { font-weight: 600; color: var(--mac-text); }
.mac-theme .checkout-breadcrumbs .divider { font-size: 15px; color: #c4bdb5; }

.mac-theme .woocommerce-cart-form,
.mac-theme .cart-collaterals .cart-sidebar,
.mac-theme .checkout .col-inner.has-border,
.mac-theme .woocommerce-checkout-review-order-wrapper {
	padding: 24px;
	border: 1px solid var(--mac-line);
	border-radius: var(--mac-card-lg);
	background: var(--mac-surface);
}
.mac-theme .checkout .col-inner.has-border { border-width: 1px; }
.mac-theme .cart-collaterals .cart-sidebar { border-left-width: 1px; }
.mac-theme .row-divided > .col + .col:not(.large-12) { border-left: 0; }
.mac-theme .has-border { border: 1px solid var(--mac-line); border-radius: var(--mac-card-lg); background: var(--mac-surface); }
.mac-theme .has-border.is-dashed { border-style: dashed; background: transparent; }

.mac-theme .woocommerce-form-coupon-toggle { margin-bottom: 24px; }
.mac-theme .woocommerce-form-coupon-toggle .woocommerce-info,
.mac-theme .woocommerce-form-login-toggle .woocommerce-info { border-style: dashed; }

.mac-theme .shop_table thead th,
.mac-theme .cart_totals > h2,
.mac-theme .cart_totals th,
.mac-theme .shop_table th {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--mac-muted);
}
.mac-theme .woocommerce-billing-fields > h3,
.mac-theme .woocommerce-additional-fields > h3,
.mac-theme .woocommerce-shipping-fields h3,
.mac-theme #order_review_heading {
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mac-text);
}
.mac-theme .shop_table td,
.mac-theme .shop_table th { border-color: var(--mac-line); }
.mac-theme .shop_table .product-name a { font-weight: 500; color: var(--mac-text); }
.mac-theme .shop_table .variation,
.mac-theme .shop_table .wcpa_cart_meta,
.mac-theme .shop_table dl.variation dt,
.mac-theme .shop_table dl.variation dd {
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--mac-muted);
}
.mac-theme .wcpa_cart_val { word-break: normal; overflow-wrap: anywhere; }
.mac-theme .product-thumbnail img,
.mac-theme .woocommerce-mini-cart-item img,
.mac-theme .review-order img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border: 1px solid var(--mac-line);
	border-radius: 10px;
	background: var(--mac-soft);
}
.mac-theme .cart_totals .order-total .amount,
.mac-theme .woocommerce-checkout-review-order-table .order-total .amount { font-size: 20px; color: var(--mac-text); }
.mac-theme .cart_totals .woocommerce-shipping-destination { font-size: 12px; color: var(--mac-muted); }

.mac-theme .checkout-button,
.mac-theme #place_order {
	width: 100%;
	min-height: 52px;
	font-size: 16px;
	box-shadow: 0 10px 20px rgba(240, 103, 36, .25);
}
.mac-theme #payment { border-radius: var(--mac-card); background: transparent; }
.mac-theme #payment .payment_methods li {
	padding: 12px 14px;
	border: 1px solid var(--mac-line);
	border-radius: 12px;
	background: var(--mac-bg);
}
.mac-theme #payment .payment_methods li.woocommerce-notice,
.mac-theme #payment .woocommerce-info { padding: 12px 14px; border: 1px solid var(--mac-line); background: var(--mac-bg); }
.mac-theme .woocommerce-privacy-policy-text { font-size: 13px; color: var(--mac-muted); }

/* Thank-you page */
.mac-theme .woocommerce-order .woocommerce-thankyou-order-received {
	font-family: var(--mac-serif);
	font-size: 26px;
	font-weight: 500;
}
.mac-theme ul.woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	padding: 0;
}
.mac-theme ul.woocommerce-order-overview li {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--mac-line);
	border-radius: var(--mac-card);
	background: var(--mac-surface);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--mac-muted);
}
.mac-theme ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--mac-text); }

/* Account, order tracking ------------------------------------------------ */

.mac-theme .account-container .woocommerce-form-login,
.mac-theme .account-container .woocommerce-form-register,
.mac-theme .woocommerce-ResetPassword,
.mac-theme form.track_order,
.mac-theme form.woocommerce-form-track-order {
	padding: 28px;
	border: 1px solid var(--mac-line);
	border-radius: var(--mac-card-lg);
	background: var(--mac-surface);
}
.mac-theme .account-login-inner > h3,
.mac-theme .account-register-inner > h3 {
	font-family: var(--mac-serif);
	font-size: 26px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
}
.mac-theme .account-container .woocommerce-form-login,
.mac-theme .account-container .woocommerce-form-register,
.mac-theme .woocommerce-ResetPassword { max-width: 480px; margin: 0 auto 40px; }
.mac-theme .account-login-inner > h3,
.mac-theme .account-register-inner > h3 { margin-bottom: 16px; text-align: center; }
.mac-theme .woocommerce-form-login .woocommerce-form-login__submit { width: 100%; margin-top: 8px; }
.mac-theme .woocommerce-LostPassword { margin-top: 12px; text-align: center; }

.mac-track { max-width: 640px; margin: 32px auto 40px; }
.mac-theme form.track_order > p:first-child { color: var(--mac-muted); }

.mac-theme .account-container h3,
.mac-theme .woocommerce-MyAccount-content h2,
.mac-theme .woocommerce-MyAccount-content h3 {
	font-size: 20px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--mac-text);
}
.mac-theme .account-nav > li > a {
	padding: 10px 0;
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	color: var(--mac-muted);
}
.mac-theme .account-nav > li > a:hover,
.mac-theme .account-nav > li.active > a { color: var(--mac-accent); }
.mac-theme .account-nav.nav-line > li > a::before,
.mac-theme .account-nav.nav-vertical > li > a::after { background-color: var(--mac-accent); }
.mac-theme .my-account-header h1 { font-size: clamp(26px, 2.6vw, 34px); }
.mac-theme .my-account-header .page-title-inner,
.mac-theme .page-wrapper.my-account > .container { max-width: 1040px; }
.mac-theme .account-user .image img { border-radius: 50%; }
.mac-theme .dashboard-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 12px;
	margin: 24px 0 0;
}
.mac-theme .dashboard-links li { width: auto; margin: 0; padding: 0; }
.mac-theme .dashboard-links a {
	display: block;
	margin: 0;
	padding: 22px 16px;
	border: 1px solid var(--mac-line);
	border-radius: var(--mac-card);
	background: var(--mac-surface);
	font-size: 16px;
	font-weight: 600;
	color: var(--mac-text);
	text-align: center;
	transition: border-color .2s ease, color .2s ease;
}
.mac-theme .dashboard-links a:hover { border-color: var(--mac-accent); color: var(--mac-accent); }
.mac-theme .woocommerce-orders-table,
.mac-theme .woocommerce-MyAccount-content .shop_table {
	overflow: hidden;
	border: 1px solid var(--mac-line);
	border-radius: var(--mac-card);
	background: var(--mac-surface);
}
.mac-theme .woocommerce-MyAccount-content .shop_table td,
.mac-theme .woocommerce-MyAccount-content .shop_table th { padding-left: 14px; padding-right: 14px; }

/* Store notice / cookie bar --------------------------------------------- */

.mac-theme .flatsome-cookies {
	right: auto;
	bottom: 16px;
	left: 50%;
	width: calc(100% - 32px);
	max-width: 640px;
	padding: 14px 16px 14px 20px;
	border-radius: var(--mac-card);
	background: var(--mac-text) !important;
	box-shadow: 0 18px 40px rgba(49, 43, 54, .28);
	transform: translate(-50%, 0);
}
.mac-theme .flatsome-cookies:not(.flatsome-cookies--active) { transform: translate(-50%, calc(100% + 32px)); }
.mac-theme .flatsome-cookies__inner { gap: 16px; padding: 0; }
.mac-theme .flatsome-cookies__text { font-size: 14px; line-height: 1.45; color: #fff; }
.mac-theme .flatsome-cookies .button { margin: 0; border-radius: 999px; background: var(--mac-accent); color: #fff; text-transform: none; }
.mac-theme .woocommerce-store-notice,
.mac-theme p.demo_store { background: var(--mac-text); font-size: 14px; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 849px) {
	.mac-theme .product-main { padding-top: 12px; }
	.mac-theme .product-info .price-wrapper .price { font-size: 24px; }
	.mac-theme .woocommerce-cart-form,
	.mac-theme .cart-collaterals .cart-sidebar,
	.mac-theme .checkout .col-inner.has-border,
	.mac-theme .woocommerce-checkout-review-order-wrapper { padding: 16px; border-radius: var(--mac-card); }
	.mac-theme .checkout-breadcrumbs a,
	.mac-theme .checkout-breadcrumbs .divider { font-size: 13px; }
}

@media (max-width: 549px) {
	.mac-theme .flatsome-cookies { bottom: 10px; width: calc(100% - 20px); padding: 10px 10px 10px 14px; }
	.mac-theme .flatsome-cookies__inner { flex-direction: row; align-items: center; gap: 10px; text-align: left; }
	.mac-theme .flatsome-cookies__text { font-size: 12.5px; line-height: 1.4; }
	.mac-theme .flatsome-cookies__buttons { flex: 0 0 auto; margin: 0; }
	.mac-theme .flatsome-cookies .button { min-height: 34px; padding: 0 14px; font-size: 13px; }
}
