/*
Theme Name: General Catering 2026
Theme URI: https://www.generalcatering.ro/
Author: General Catering
Description: Tema site-ului General Catering Bacău – catering, evenimente și comenzi online.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: general_catering2026_themes
*/

/* =================================================================
   WordPress defaults
   ================================================================= */

.sticky { background: #f8f8f8; padding: 0 0 16px 0; }
.gallery-caption { color: #888; font-size: 12px; margin: 0 0 12px; }
ul li a i { font-style: normal; }

.alignnone { margin: 5px 20px 20px 0; }
.aligncenter,
div.aligncenter { display: block; margin: 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

img { height: auto !important; }


/* =================================================================
   Site customisations
   ================================================================= */

.tm-extra-product-options .tc-cell.tm-error{
font-size: 14px;
}
.header-logo img {
max-width: 260px;
}
.product_amabalaj .tc-row >.tc-container:nth-child(2){display:none !important;}

.main-content ul li.tmcp-field-wrap,.tm-extra-product-options .tm-extra-product-options-field{background:#fff !important;}
.gc-caption a {
	color: #fff !important;
	font-size: 1.2em;
}
.aligned_iframe {
	display: block;
	margin: 0px auto;
}
.blog-list-2 .item .date, .blog-list-1 .item .date {
	display:none;
}
.blog-list-1 .item .text {
	margin-left: 130px;
}
a img.aligncenter {
	max-width: 100%;
}
.payment_methods img {
	display: inline-block;
	vertical-align: top;
	width: 280px;
	margin: 0px 11px;
}
/*
.sidebar-content.woocommerce {
	display: none;
}*/
.form-row input {
	background: #fff;
	border: 1px solid #c8c8c8;
	box-shadow: inset 0 0 0 1px #fff, 0px 0px 0px 1px #fff, inset 0px 5px 15px #f0f0f0;
	border-radius: 3px;
	padding: 6px 10px;
}
.woocommerce-page .sidebar-content.woocommerce{display:none;}
.woocommerce-page .main-content.left {
	width: 100%;
}
.footer .payment_methods img {
	width: 60px;
}
.woocommerce-page .content-slider{display:none;}
.separator_footer{padding:0px 10px;}
.center_content{text-align:center;padding-bottom:15px;}
.new-badge.menu-item.menu-item-type-custom.menu-item-object-custom {
  background:url("images/stars.png");
  background-position: center 38px;
background-repeat:no-repeat;
}
.main-menu-custom .wrapper > ul > li.new-badge > a {
  color: #FFDB05;
}
.main-menu-custom .wrapper > ul > li.new-badge >a:hover{
color:#990000;}

.woocommerce div.product form.cart table.extra-options {
margin-bottom: 20px;
}

@media (max-width:900px){
.new-badge.menu-item.menu-item-type-custom.menu-item-object-custom {
  background-position: 19px 43px;
}
}


/* =================================================================
   Homepage slider
   ================================================================= */
.gc-slider {
	position: relative;
	max-width: 950px;
	margin: 0 auto;
}
.gc-slides {
	position: relative;
	padding-top: 36.842%; /* 950 x 350 */
	overflow: hidden;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
}
.gc-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0s linear 0.8s;
}
.gc-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	transition: opacity 0.8s ease, visibility 0s;
}
.gc-slide img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}
.gc-slider .gc-caption {
	position: absolute;
	left: 20px;
	bottom: 52px; /* above the bullets "pill" */
	margin: 0;
	padding: 10px;
	max-width: calc(100% - 40px);
	box-sizing: border-box;
	color: #fff;
	background: rgba(0, 0, 0, 0.59);
	white-space: normal;
	opacity: 0;
	transform: translateX(80px);
	transition: opacity 1s ease, transform 1s cubic-bezier(0.86, 0, 0.07, 1);
}
.gc-slide.is-active .gc-caption {
	opacity: 1;
	transform: translateX(0);
}
/* Previous / next: wooden tabs outside the slider, like the original design
   (sprite 75px wide: normal / hover / pressed) */
.gc-slider .gc-nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 25px;
	height: 229px;
	margin-top: -115px;
	overflow: hidden;
	text-indent: -9999px;
	background-repeat: no-repeat;
	background-position: 0 0;
	transition: none;
}
.gc-slider .gc-nav i {
	display: none;
}
.gc-slider .gc-prev {
	left: -26px;
	background-image: url(images/btn-previous-1.png);
}
.gc-slider .gc-next {
	right: -26px;
	background-image: url(images/btn-next-1.png);
}
.gc-slider .gc-nav:hover { background-position: -25px 0; }
.gc-slider .gc-nav:active { background-position: -50px 0; }

/* Bullets in the wooden "pill" at the bottom centre */
.gc-slider .gc-dots {
	position: absolute;
	left: 50%;
	bottom: 6px;
	z-index: 3;
	width: 214px;
	height: 39px;
	margin-left: -107px;
	padding-top: 7px;
	box-sizing: border-box;
	text-align: center;
	line-height: 0;
	background: url(images/homepage-slider-control-bg.png) 0 0 no-repeat;
}
.gc-slider .gc-dots a {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 0 3px;
	background: url(images/homepage-slider-control-item-ico.png) 0 0 no-repeat;
}
.gc-slider .gc-dots a:hover { background-position: 0 -14px; }
.gc-slider .gc-dots a.is-active { background-position: 0 -28px; }

/* Narrower screens: the slider is full width, there is no room for the tabs
   (navigation with the bullets and by swiping) */
@media (max-width: 1000px) {
	.gc-slider .gc-nav { display: none; }
}
@media (max-width: 600px) {
	.gc-slider .gc-caption {
		left: 10px;
		bottom: 44px;
		font-size: 10px;
		max-width: calc(100% - 20px);
		box-sizing: border-box;
		padding: 10px !important;
	}
	.gc-slider .gc-dots { bottom: 2px; transform: scale(0.85); }
}

/* WordPress accessibility helper */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* =================================================================
   Product gallery (WooCommerce slider + popup)
   ================================================================= */
.woocommerce div.product .woocommerce-product-gallery {
	position: relative;
	float: left;
	width: 48.4%;
	margin: 0 0 20px 0;
}
.woocommerce div.product .woocommerce-product-gallery__wrapper {
	margin: 0;
	padding: 0;
}
.woocommerce div.product .woocommerce-product-gallery__image a {
	display: block;
	cursor: zoom-in;
}
.woocommerce div.product .woocommerce-product-gallery img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
.woocommerce div.product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 9;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	text-indent: -9999px;
	overflow: hidden;
}
.woocommerce div.product .woocommerce-product-gallery__trigger::before {
	content: "";
	position: absolute;
	top: 9px;
	left: 9px;
	width: 10px;
	height: 10px;
	border: 2px solid #B10700;
	border-radius: 50%;
}
.woocommerce div.product .woocommerce-product-gallery__trigger::after {
	content: "";
	position: absolute;
	top: 22px;
	left: 21px;
	width: 2px;
	height: 8px;
	background: #B10700;
	transform: rotate(-45deg);
}
.woocommerce div.product .flex-control-thumbs {
	margin: 8px 0 0 0;
	padding: 0;
	overflow: hidden;
	list-style: none;
}
.woocommerce div.product .flex-control-thumbs li {
	float: left;
	width: 23.5%;
	margin: 0 2% 2% 0;
	padding: 0;
	list-style: none;
}
.woocommerce div.product .flex-control-thumbs li:nth-child(4n) {
	margin-right: 0;
}
.woocommerce div.product .flex-control-thumbs img {
	cursor: pointer;
	opacity: 0.6;
	box-shadow: none;
	transition: opacity 0.2s;
}
.woocommerce div.product .flex-control-thumbs img.flex-active,
.woocommerce div.product .flex-control-thumbs img:hover {
	opacity: 1;
}
@media only screen and (max-width: 600px) {
	.woocommerce div.product .woocommerce-product-gallery {
		float: none;
		width: 100%;
	}
}

/* Bottom footer band (copyright): wood texture covers the whole band */
.footer-desc {
	background-size: cover;
}

/* Footer phone links */
.footer .contact-info .phone {
	background-position: 0 8px; /* icon (21px) centred on the first 34px line */
}
.footer .contact-info .phone p {
	line-height: 34px;
	margin: 0;
}
.footer .contact-info .phone a {
	color: inherit;
	text-decoration: none;
}
.footer .contact-info .phone a:hover {
	text-decoration: underline;
}

/* "Vezi coșul" link shown after adding a product from the list */
.woocommerce a.added_to_cart {
	display: inline-block;
	margin: 6px 0 0 4px;
	font-size: 12px;
	font-weight: bold;
}

/* Footer "Social" widget (Custom HTML: title + table of icons) */
.footer .widget_custom_html h2 {
	font-weight: normal;
	font-size: 19px;
	color: #ffe6b2;
	margin: 0 0 24px 0;
	letter-spacing: 0;
}
.footer .widget_custom_html table {
	width: auto !important;
	border-collapse: collapse;
}
.footer .widget_custom_html th,
.footer .widget_custom_html td {
	padding: 5px 0;
	vertical-align: middle;
	text-align: left !important;
}
.footer .widget_custom_html tr > :first-child {
	width: 36px;
	padding-right: 14px;
}
.footer .widget_custom_html img {
	float: none;
	display: block;
	width: 36px;
	height: 36px !important;
	margin: 0;
}
.footer .widget_custom_html h3 {
	margin: 0;
	font-size: 17px;
	line-height: 36px;
}
.footer .widget_custom_html h3 a {
	text-decoration: none;
}
.footer .widget_custom_html h3 a:hover {
	color: #ffe6b2;
}

/* =================================================================
   Contact page – Gravity Forms styled like the theme forms
   (label above, field below, full width)
   ================================================================= */
.gc-gform .gform_wrapper.gravity-theme {
	margin: 0;
	font-family: Arial, sans-serif;
}
.gc-gform .gform_wrapper.gravity-theme .gform_fields {
	display: block;
}
.gc-gform .gform_wrapper.gravity-theme .gfield {
	display: block;
	margin: 0 0 14px 0;
	padding: 0;
}
.gc-gform .gform_wrapper.gravity-theme .gfield_label {
	display: block;
	width: 100%;
	margin: 0 0 5px 0;
	padding: 0;
	font-size: inherit;
	font-weight: bold;
}
.gc-gform .gform_wrapper.gravity-theme .ginput_container,
.gc-gform .gform_wrapper.gravity-theme .ginput_complex,
.gc-gform .gform_wrapper.gravity-theme .gfield_description {
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}
.gc-gform .gform_wrapper.gravity-theme .gfield_description:not(.validation_message) {
	padding-top: 4px;
	font-size: 11px;
	color: #777;
}
.gc-gform .gform_wrapper.gravity-theme .gfield_required {
	display: inline-block;
	padding-left: 5px;
	font-size: 16px;
	line-height: 14px;
	color: #e94525;
}
.gc-gform .gform_wrapper.gravity-theme .gfield_required_text {
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
}
.gc-gform .gform_wrapper.gravity-theme .gform_required_legend {
	margin: 0 0 12px 0;
	font-size: 12px;
	color: #777;
}
.gc-gform .gform_wrapper.gravity-theme input[type=text],
.gc-gform .gform_wrapper.gravity-theme input[type=email],
.gc-gform .gform_wrapper.gravity-theme input[type=tel],
.gc-gform .gform_wrapper.gravity-theme input[type=number],
.gc-gform .gform_wrapper.gravity-theme input[type=url],
.gc-gform .gform_wrapper.gravity-theme select,
.gc-gform .gform_wrapper.gravity-theme textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	font-family: Arial, sans-serif;
	font-size: 13px;
	line-height: normal;
	background: #fff;
	border: 1px solid #c8c8c8;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px #fff, inset 0 5px 15px #f0f0f0;
}
.gc-gform .gform_wrapper.gravity-theme textarea {
	height: 150px;
	resize: vertical;
}
.gc-gform .gform_wrapper.gravity-theme input:focus,
.gc-gform .gform_wrapper.gravity-theme select:focus,
.gc-gform .gform_wrapper.gravity-theme textarea:focus {
	outline: none;
	border-color: #a0a0a0;
}
/* Name / address fields with several inputs */
.gc-gform .gform_wrapper.gravity-theme .ginput_complex {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.gc-gform .gform_wrapper.gravity-theme .ginput_complex > span {
	flex: 1 1 45%;
	margin: 0;
	padding: 0;
}
.gc-gform .gform_wrapper.gravity-theme .ginput_complex label,
.gc-gform .gform_wrapper.gravity-theme .gfield .gform-field-label--type-sub {
	display: block;
	padding: 3px 0 0 0;
	font-size: 11px;
	font-weight: normal;
	color: #777;
}
/* Submit button – same as the old "Trimite mesajul" button */
.gc-gform .gform_wrapper.gravity-theme .gform_footer {
	margin: 0;
	padding: 6px 0 0 0;
}
.gc-gform .gform_wrapper.gravity-theme .gform_footer input[type=submit],
.gc-gform .gform_wrapper.gravity-theme .gform_footer button,
.gc-gform .gform_wrapper.gravity-theme .gform_page_footer input[type=submit] {
	display: inline-block;
	width: auto;
	margin: 0;
	padding: 7px 17px;
	font-family: 'Capriola', sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 19px;
	color: #76452f;
	text-shadow: 0 1px 0 #fff;
	background: #fff;
	border: 1px solid #dddddd;
	border-bottom: 1px solid #aaaaaa;
	border-radius: 5px;
	box-shadow: inset 0 -14px 14px -5px rgba(0, 0, 0, 0.09);
	cursor: pointer;
}
.gc-gform .gform_wrapper.gravity-theme .gform_footer input[type=submit]:hover,
.gc-gform .gform_wrapper.gravity-theme .gform_footer button:hover {
	color: #a65600;
	background: #eeeeee;
	border: 1px solid #d0d0d0;
	border-bottom: 1px solid #a0a0a0;
}
.gc-gform .gform_wrapper.gravity-theme .gform_ajax_spinner {
	margin-left: 10px;
	vertical-align: middle;
}
/* Field errors – red border + red bar under the field */
.gc-gform .gform_wrapper.gravity-theme .gfield_error input,
.gc-gform .gform_wrapper.gravity-theme .gfield_error select,
.gc-gform .gform_wrapper.gravity-theme .gfield_error textarea {
	border: 1px solid #b10700;
	border-radius: 3px 3px 0 0;
}
.gc-gform .gform_wrapper.gravity-theme .gfield_error .gfield_label {
	color: inherit;
}
.gc-gform .gform_wrapper.gravity-theme .validation_message {
	width: 100%;
	margin: 0;
	padding: 6px 10px;
	box-sizing: border-box;
	font-size: 12px;
	color: #fff;
	background: #b10700;
	border: 0;
	border-radius: 0 0 3px 3px;
}
.gc-gform .gform_wrapper.gravity-theme .validation_message::before {
	content: "\f05e";
	font-family: FontAwesome;
	padding-right: 6px;
}
/* Error summary at the top: room on the left for the "!" icon */
.gc-gform .gform_wrapper.gravity-theme .gform_validation_errors {
	position: relative;
	margin: 0 0 15px 0;
	padding: 12px 14px 12px 50px;
	background: #fbe9e8;
	border: 1px solid #b10700;
	border-radius: 3px;
	box-shadow: none;
}
.gc-gform .gform_wrapper.gravity-theme .gform_validation_errors > h2 {
	position: static;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.4;
	font-family: Arial, sans-serif;
	font-weight: bold;
	color: #b10700;
}
.gc-gform .gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon {
	position: absolute;
	top: 50%;
	left: 13px;
	margin: 0;
	transform: translateY(-50%);
}
.gc-gform .gform_wrapper.gravity-theme .gform_validation_errors > ol {
	margin: 6px 0 0 0;
	padding: 0 0 0 16px;
	font-size: 12px;
}
/* Success message – green box like before */
.gc-gform .gform_confirmation_message {
	padding: 12px 15px;
	font-weight: bold;
	color: #fff;
	text-shadow: none;
	background: #68a117;
	border-radius: 3px;
}

/* =================================================================
   Mobile header + off-canvas menu (<= 900px)
   ================================================================= */
.gc-burger,
.gc-mobile-nav {
	display: none;
}

@media only screen and (max-width: 900px) {
	/* Header: logo left, burger right */
	.header {
		min-height: 0;
		padding: 0 !important;
		margin-bottom: 0;
	}
	.header .wrapper {
		display: flex;
		align-items: center;
		justify-content: space-between;
		box-sizing: border-box;
		width: 100%;
		padding: 12px 16px;
	}
	.header .header-logo {
		float: none !important;
		width: auto !important;
		max-width: 65%;
		padding: 0 !important;
		text-align: left !important;
	}
	.header .header-logo img {
		display: block;
		max-width: 100% !important;
		max-height: 70px;
		width: auto;
	}
	.header .header-logo h1 {
		padding: 0;
		font-size: 26px;
	}

	/* Red band under the header: kept as decoration, thinner, stars centred */
	.main-menu-custom {
		height: auto;
		margin-bottom: 0;
	}
	.main-menu-custom .wrapper {
		height: 30px;
		margin-top: 0;
	}
	.main-menu-custom .wrapper > ul {
		height: 30px;
	}
	.main-menu-custom .wrapper > ul > li {
		display: none !important;
	}
	.main-menu-custom .wrapper > ul:before,
	.main-menu-custom .wrapper > ul:after {
		top: 50%;
		margin-top: -8px;
	}

	/* Burger button */
	.gc-burger {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		flex: 0 0 auto;
		width: 48px;
		height: 48px;
		padding: 0 12px;
		background: #b10700;
		border: 0;
		border-radius: 4px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.15);
		cursor: pointer;
	}
	.gc-burger span {
		display: block;
		height: 3px;
		background: #fff;
		border-radius: 2px;
	}
	.gc-burger:focus-visible {
		outline: 2px solid #ffdb05;
		outline-offset: 2px;
	}

	/* Off-canvas panel */
	.gc-mobile-nav {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100000;
		width: 100%;
		height: 100%;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: #b10700;
		box-shadow: inset 0 130px 100px -100px rgba(0, 0, 0, 0.35);
		transform: translateX(-100%);
		visibility: hidden;
		transition: transform 0.3s ease, visibility 0s linear 0.3s;
	}
	.gc-mobile-nav.is-open {
		transform: translateX(0);
		visibility: visible;
		transition: transform 0.3s ease, visibility 0s;
	}
	body.gc-nav-open {
		overflow: hidden;
	}
	.admin-bar .gc-mobile-nav {
		top: 46px;
		height: calc(100% - 46px);
	}

	.gc-mobile-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 14px 16px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	}
	.gc-mobile-nav__home {
		display: block;
		max-width: 70%;
		font-family: "Capriola", sans-serif;
		font-size: 18px;
		color: #fff !important;
		text-decoration: none;
	}
	.gc-mobile-nav__home img {
		display: block;
		max-width: 100%;
		max-height: 56px;
		width: auto;
		filter: brightness(0) invert(1); /* logo in white */
	}
	.gc-mobile-nav__close {
		position: relative;
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		padding: 0;
		background: rgba(0, 0, 0, 0.2);
		border: 0;
		border-radius: 50%;
		cursor: pointer;
	}
	/* X drawn with two lines, exactly in the middle of the circle */
	.gc-mobile-nav__close span::before,
	.gc-mobile-nav__close span::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 20px;
		height: 3px;
		margin: -1.5px 0 0 -10px;
		background: #fff;
		border-radius: 2px;
		transform: rotate(45deg);
	}
	.gc-mobile-nav__close span::after {
		transform: rotate(-45deg);
	}
	.gc-mobile-nav__close:focus-visible {
		outline: 2px solid #ffdb05;
		outline-offset: 2px;
	}

	/* Menu list */
	.gc-mobile-nav__menu ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.gc-mobile-nav__menu li {
		position: relative;
		margin: 0;
		padding: 0;
		list-style: none;
		background: none !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}
	.gc-mobile-nav__menu a {
		display: block;
		padding: 15px 60px 15px 20px;
		font-family: "Capriola", sans-serif;
		font-size: 17px;
		line-height: 1.3;
		color: #fff !important;
		text-decoration: none;
		text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
	}
	/* Only "Cort Evenimente" (new-badge) is yellow, like on desktop */
	.gc-mobile-nav__menu .new-badge > a {
		color: #ffdb05 !important;
	}
	.gc-mobile-nav__menu a:focus-visible {
		outline: 2px solid #fff;
		outline-offset: -4px;
	}
	.gc-mobile-nav__menu .sub-menu {
		display: none;
		background: rgba(0, 0, 0, 0.18);
	}
	.gc-mobile-nav__menu .sub-menu li {
		border-bottom: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
	.gc-mobile-nav__menu .sub-menu a {
		padding-left: 36px;
		font-size: 15px;
	}
	.gc-mobile-nav__menu .sub-menu .sub-menu a {
		padding-left: 52px;
	}

	/* "+" / "-" sub menu button */
	.gc-sub-toggle {
		position: absolute;
		top: 6px;
		right: 10px;
		width: 40px;
		height: 40px;
		padding: 0;
		background: rgba(0, 0, 0, 0.18);
		border: 0;
		border-radius: 50%;
		cursor: pointer;
	}
	.gc-sub-toggle span,
	.gc-sub-toggle span::after {
		position: absolute;
		top: 50%;
		left: 50%;
		width: 14px;
		height: 2px;
		margin: -1px 0 0 -7px;
		background: #fff;
		content: "";
		transition: transform 0.2s ease;
	}
	.gc-sub-toggle span::after {
		margin: 0;
		top: 0;
		left: 0;
		transform: rotate(90deg);
	}
	.is-open > .gc-sub-toggle span::after {
		transform: rotate(0deg);
	}
}

@media only screen and (max-width: 782px) {
	.admin-bar .gc-mobile-nav {
		top: 46px;
	}
}

/* =================================================================
   Image popup (links to images inside pages / posts)
   ================================================================= */
.post a[href$=".jpg"] img,
.post a[href$=".jpeg"] img,
.post a[href$=".png"] img,
.post a[href$=".webp"] img {
	cursor: zoom-in;
}
.gc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.9);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.gc-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease, visibility 0s;
}
body.gc-lightbox-open {
	overflow: hidden;
}
.gc-lightbox__figure {
	margin: 0;
	max-width: calc(100% - 140px);
	max-height: calc(100% - 80px);
	text-align: center;
}
.gc-lightbox__figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 110px);
	height: auto !important;
	width: auto;
	margin: 0 auto;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.6);
	transition: opacity 0.2s ease;
}
.gc-lightbox.is-loading .gc-lightbox__figure img {
	opacity: 0.3;
}
.gc-lightbox__figure figcaption {
	padding-top: 8px;
	font-size: 13px;
	color: #ddd;
}
.gc-lightbox__close,
.gc-lightbox__prev,
.gc-lightbox__next {
	position: absolute;
	width: 48px;
	height: 48px;
	padding: 0;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s ease;
}
.gc-lightbox__close:hover,
.gc-lightbox__prev:hover,
.gc-lightbox__next:hover {
	background: #b10700;
}
.gc-lightbox__close {
	top: 14px;
	right: 14px;
	font-size: 34px;
	line-height: 46px;
}
.gc-lightbox__prev,
.gc-lightbox__next {
	top: 50%;
	margin-top: -24px;
	font-size: 18px;
}
.gc-lightbox__prev { left: 14px; }
.gc-lightbox__next { right: 14px; }
.gc-lightbox.is-single .gc-lightbox__prev,
.gc-lightbox.is-single .gc-lightbox__next {
	display: none;
}
.gc-lightbox__count {
	position: absolute;
	top: 26px;
	left: 20px;
	font-size: 13px;
	color: #ddd;
}
@media only screen and (max-width: 600px) {
	.gc-lightbox__figure {
		max-width: calc(100% - 20px);
	}
	.gc-lightbox__prev,
	.gc-lightbox__next {
		top: auto;
		bottom: 16px;
		margin-top: 0;
	}
}

/* Video from the old [jwplayer] shortcode */
.gc-video {
	max-width: 100%;
	margin: 0 0 20px 0;
}
.gc-video video {
	display: block;
	width: 100%;
	height: auto;
	background: #000;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

/* Popup close "X" drawn with two lines (exactly centred) */
.gc-lightbox__close span::before,
.gc-lightbox__close span::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 3px;
	margin: -1.5px 0 0 -11px;
	background: #fff;
	border-radius: 2px;
	transform: rotate(45deg);
}
.gc-lightbox__close span::after {
	transform: rotate(-45deg);
}

/* =================================================================
   NextGEN gallery: 4 thumbnails per row, each 25% of the width
   ================================================================= */
.ngg-galleryoverview .ngg-gallery-thumbnail-box {
	float: left;
	width: 25% !important;
	box-sizing: border-box;
	padding: 0 4px 8px 4px;
}
.ngg-galleryoverview .ngg-gallery-thumbnail {
	margin: 0;
	padding: 4px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
}
.ngg-galleryoverview .ngg-gallery-thumbnail a {
	display: block;
	margin: 0;
}
.ngg-galleryoverview .ngg-gallery-thumbnail img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: opacity 0.2s ease;
}
.ngg-galleryoverview .ngg-gallery-thumbnail a:hover img {
	opacity: 0.85;
}
.ngg-galleryoverview .ngg-clear {
	display: none;
}
.ngg-galleryoverview .ngg-navigation,
.ngg-galleryoverview .slideshowlink {
	clear: both;
}
@media only screen and (max-width: 480px) {
	.ngg-galleryoverview .ngg-gallery-thumbnail-box {
		width: 50% !important;
	}
}

/* Theme button (comment form, same look as the contact form button) */
.gc-button,
.add-comment .form-submit input[type=submit],
#respond .form-submit input[type=submit] {
	display: inline-block;
	width: auto;
	padding: 7px 17px;
	font-family: 'Capriola', sans-serif;
	font-size: 12px;
	font-weight: bold;
	line-height: 19px;
	color: #76452f;
	text-shadow: 0 1px 0 #fff;
	background: #fff;
	border: 1px solid #dddddd;
	border-bottom: 1px solid #aaaaaa;
	border-radius: 5px;
	box-shadow: inset 0 -14px 14px -5px rgba(0, 0, 0, 0.09);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.gc-button:hover,
.add-comment .form-submit input[type=submit]:hover,
#respond .form-submit input[type=submit]:hover {
	color: #a65600;
	background: #eeeeee;
	border: 1px solid #d0d0d0;
	border-bottom: 1px solid #a0a0a0;
}

/* Product count next to the category name: same look as the title, no yellow background */
.woocommerce-loop-category__title mark.count,
.product-category mark.count {
	padding: 0;
	font: inherit;
	color: inherit;
	background: none;
}

/* Floating "call us" button (phones / tablets) */
.gc-call-button {
	display: none;
}
@media only screen and (max-width: 900px) {
	.gc-call-button {
		position: fixed;
		right: 16px;
		bottom: 16px; /* raised above the bottom footer band by js/site.js */
		z-index: 9990;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		background: #269041;
		border-radius: 50%;
		box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
		text-decoration: none;
	}
	.gc-call-button:active {
		transform: scale(0.95);
	}
	body.gc-nav-open .gc-call-button,
	body.gc-lightbox-open .gc-call-button,
	body.gc-nav-open .wp-call-button,
	body.gc-lightbox-open .wp-call-button {
		display: none !important;
	}
}

/* Checkout / account: native <select> fields (Country) styled like the text fields */
.woocommerce form .form-row select,
.woocommerce-page form .form-row select {
	display: block;
	width: 100%;
	box-sizing: border-box;
	height: auto;
	padding: 6px 32px 6px 10px;
	font-family: inherit;
	font-size: 13px;
	line-height: normal;
	color: #333;
	background-color: #fff;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23888' d='M0 0h10L5 6z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 10px 6px;
	border: 1px solid #c8c8c8;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px #fff, inset 0 5px 15px #f0f0f0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
}
.woocommerce form .form-row select:focus,
.woocommerce-page form .form-row select:focus {
	outline: none;
	border-color: #a0a0a0;
}

/* =================================================================
   Responsive fixes
   ================================================================= */
/* Images in the content (also inside headings / links) never wider than the column */
.post img,
.content-white .main-content img,
.wp-caption {
	max-width: 100% !important;
	height: auto !important;
	box-sizing: border-box;
}

/* Maps / videos / embeds in the content never wider than the column */
.post iframe,
.post embed,
.post object,
.post video {
	max-width: 100%;
}

@media only screen and (max-width: 600px) {
	/* Shop, categories and related products: 2 per row on phones */
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product,
	.woocommerce .related ul.products li.product,
	.woocommerce-page .related ul.products li.product,
	.woocommerce .upsells.products ul.products li.product,
	.woocommerce-page .upsells.products ul.products li.product {
		float: left !important;
		clear: none !important;
		width: 48% !important;
		margin: 0 4% 24px 0 !important;
	}
	.woocommerce ul.products li.product:nth-child(2n),
	.woocommerce-page ul.products li.product:nth-child(2n) {
		margin-right: 0 !important;
	}
	.woocommerce ul.products li.product:nth-child(2n+1),
	.woocommerce-page ul.products li.product:nth-child(2n+1) {
		clear: left !important;
	}
	.woocommerce ul.products li.product h2,
	.woocommerce ul.products li.product h3,
	.woocommerce-page ul.products li.product h2,
	.woocommerce-page ul.products li.product h3 {
		font-size: 16px;
		line-height: 1.25;
	}

	/* Results count + sorting: one under the other */
	.woocommerce .woocommerce-result-count,
	.woocommerce-page .woocommerce-result-count,
	.woocommerce .woocommerce-ordering,
	.woocommerce-page .woocommerce-ordering {
		float: none !important;
		width: 100%;
		margin: 0 0 10px 0 !important;
	}
	.woocommerce .woocommerce-ordering select,
	.woocommerce-page .woocommerce-ordering select {
		width: 100%;
	}

	/* Theme forms (comments, fallback contact form): label above the field */
	#respond p label,
	.add-comment p label {
		position: static;
		margin: 0 0 4px 0;
	}
	#respond p input,
	#respond p textarea,
	.add-comment p input,
	.add-comment p textarea {
		margin-left: 0 !important;
	}
	#respond p input[type=text],
	#respond p textarea,
	.add-comment p input[type=text],
	.add-comment p textarea {
		width: 100% !important;
	}
	#respond .error-msg,
	.add-comment .error-msg {
		margin-left: 0;
	}
}

/* =================================================================
   Shop pages: no sidebar (also on phones, where responsive CSS forced it visible)
   ================================================================= */
body.woocommerce-page .sidebar-content.woocommerce,
body.woocommerce-cart .sidebar-content,
body.woocommerce-checkout .sidebar-content,
body.woocommerce-account .sidebar-content {
	display: none !important;
}
body.woocommerce-page .main-content {
	width: 100% !important;
	float: none !important;
}

@media only screen and (max-width: 600px) {
	/* Cart / totals tables: one product per block, label on the left, value on the right */
	.woocommerce table.shop_table_responsive thead,
	.woocommerce-page table.shop_table_responsive thead,
	.woocommerce table.shop_table_responsive tbody th,
	.woocommerce-page table.shop_table_responsive tbody th {
		display: none;
	}
	.woocommerce table.shop_table_responsive,
	.woocommerce-page table.shop_table_responsive,
	.woocommerce table.shop_table_responsive tbody,
	.woocommerce-page table.shop_table_responsive tbody,
	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr {
		display: block;
		width: 100%;
	}
	.woocommerce table.shop_table_responsive tr,
	.woocommerce-page table.shop_table_responsive tr {
		border-bottom: 1px solid #e5e5e5;
	}
	.woocommerce table.shop_table_responsive tr td,
	.woocommerce-page table.shop_table_responsive tr td {
		display: block;
		box-sizing: border-box;
		width: 100%;
		padding: 8px 10px;
		text-align: right !important;
		border-top: 0;
	}
	.woocommerce table.shop_table_responsive tr td::before,
	.woocommerce-page table.shop_table_responsive tr td::before {
		content: attr(data-title) ": ";
		float: left;
		padding-right: 10px;
		font-weight: bold;
	}
	.woocommerce table.shop_table_responsive tr td.product-remove::before,
	.woocommerce table.shop_table_responsive tr td.actions::before,
	.woocommerce table.shop_table_responsive tr td.product-thumbnail::before,
	.woocommerce-page table.shop_table_responsive tr td.product-remove::before,
	.woocommerce-page table.shop_table_responsive tr td.actions::before,
	.woocommerce-page table.shop_table_responsive tr td.product-thumbnail::before {
		display: none;
	}
	.woocommerce table.shop_table_responsive tr td.product-remove,
	.woocommerce-page table.shop_table_responsive tr td.product-remove {
		text-align: left !important;
	}
	.woocommerce table.cart .product-thumbnail,
	.woocommerce-page table.cart .product-thumbnail {
		display: none !important;
	}
	.woocommerce table.cart td.actions,
	.woocommerce-page table.cart td.actions {
		text-align: left !important;
	}
	.woocommerce table.cart td.actions .coupon,
	.woocommerce-page table.cart td.actions .coupon {
		float: none;
		margin-bottom: 10px;
	}
	.woocommerce table.cart td.actions .coupon .input-text,
	.woocommerce-page table.cart td.actions .coupon .input-text {
		width: 55% !important;
	}
	.woocommerce table.cart td.actions .button,
	.woocommerce-page table.cart td.actions .button {
		float: none;
		width: auto;
	}
	.woocommerce .cart-collaterals,
	.woocommerce .cart-collaterals .cart_totals,
	.woocommerce-page .cart-collaterals .cart_totals,
	.woocommerce .cart-collaterals .cross-sells {
		float: none !important;
		width: 100% !important;
	}
	.woocommerce .cart-collaterals .cart_totals table th,
	.woocommerce-page .cart-collaterals .cart_totals table th {
		width: 40%;
	}
	.woocommerce .wc-proceed-to-checkout .checkout-button,
	.woocommerce .cart_totals .checkout-button {
		display: block;
		text-align: center;
	}
	.woocommerce-message,
	.woocommerce-info,
	.woocommerce-error {
		overflow: hidden;
	}
	.woocommerce-message .button,
	.woocommerce-info .button {
		float: none !important;
		display: inline-block;
		margin-top: 8px;
	}

	/* Cart: quantity box on the right, like the other values (old rule centred it: margin 0 auto) */
	.woocommerce table.shop_table_responsive td.product-quantity .quantity,
	.woocommerce-page table.shop_table_responsive td.product-quantity .quantity {
		margin: 0 0 0 auto !important;
		float: none !important;
	}

	/* Cart totals: 6px padding */
	.woocommerce .cart-collaterals .cart_totals table td,
	.woocommerce .cart-collaterals .cart_totals table th,
	.woocommerce-page .cart-collaterals .cart_totals table td,
	.woocommerce-page .cart-collaterals .cart_totals table th {
		padding: 6px !important;
	}

	/* Shipping methods inside the totals: no list bullet over the "Livrare" label */
	.woocommerce ul#shipping_method li,
	.woocommerce-page ul#shipping_method li {
		list-style: none;
		background-image: none !important;
		padding-left: 0 !important;
		margin-left: 0 !important;
	}
	.woocommerce ul#shipping_method li::before,
	.woocommerce-page ul#shipping_method li::before {
		display: none !important;
	}

	/* Checkout: billing / shipping one under the other, every field full width */
	.woocommerce .col2-set .col-1,
	.woocommerce .col2-set .col-2,
	.woocommerce-page .col2-set .col-1,
	.woocommerce-page .col2-set .col-2 {
		float: none !important;
		width: 100% !important;
	}
	.woocommerce .col2-set .col-2,
	.woocommerce-page .col2-set .col-2 {
		margin-top: 20px;
	}
	.woocommerce form .form-row-first,
	.woocommerce form .form-row-last,
	.woocommerce-page form .form-row-first,
	.woocommerce-page form .form-row-last {
		float: none !important;
		width: 100% !important;
	}
	.woocommerce form .form-row .input-text,
	.woocommerce-page form .form-row .input-text,
	.woocommerce form .form-row textarea {
		width: 100% !important;
		box-sizing: border-box;
	}
	.woocommerce #payment #place_order,
	.woocommerce-page #payment #place_order {
		float: none !important;
		width: 100%;
		margin-top: 10px;
	}

	/* Footer: links one under the other, copyright / credit stacked,
	   room at the bottom for the floating call button */
	.footer .center_content a {
		display: block;
		padding: 5px 0;
	}
	.footer .center_content .separator_footer {
		display: none;
	}
	.footer-desc {
		height: auto;
		padding-bottom: 10px;
	}
	.footer-desc .wrapper {
		display: flex;
		flex-direction: column;
		padding-top: 18px;
		text-align: center;
	}
	.footer-desc p,
	.footer-desc p.right {
		float: none !important;
		margin: 0 0 8px 0;
		text-align: center;
	}
	.footer-desc p.right {
		order: 2; /* copyright first, "Realizat de" under it */
	}
}

/* =================================================================
   Grid between 901px and 1000px (the 950px grid was wider than the screen)
   ================================================================= */
/* Sidebar in % (31.58% of 950px = the original 300px), so content + sidebar always = 100% */
.sidebar-content {
	width: 31.5845%;
	box-sizing: border-box;
}
/* Grey sidebar background and the dashed line between the columns
   follow the same % width (they were fixed at 300px) */
.sidebar-content:before {
	width: 31.5845%;
}
.sidebar-content.right:after {
	right: 31.5845%;
}
.sidebar-content.left:after {
	left: 31.5845%;
}
@media only screen and (min-width: 901px) and (max-width: 1000px) {
	.wrapper {
		width: 96%;
	}
	/* main menu fits between the two stars */
	.main-menu-custom .wrapper > ul > li > a {
		padding: 0 13px;
		font-size: 15px;
	}
}

/* 900px and below: content and sidebar full width, one under the other (like the slider) */
@media only screen and (max-width: 900px) {
	/* Review stars full width */
	.comment-form-rating > .stars {
		width: 100%;
	}
	.main-content,
	.main-content.left,
	.main-content.right,
	.sidebar-content,
	.sidebar-content.left,
	.sidebar-content.right {
		display: block !important;
		float: none !important;
		width: 100% !important;
	}
	.sidebar-content {
		padding: 20px 25px;
		background-color: #f3f3f3;
		border-radius: 0 0 5px 5px;
	}
	/* Comment / contact forms full width */
	#respond,
	.add-comment {
		width: 100%;
	}
	.sidebar-content:before,
	.sidebar-content:after,
	.sidebar-content.right:before,
	.sidebar-content.right:after {
		display: none !important;
	}
	.sidebar-content .widget {
		float: none;
		width: 100%;
		margin: 0 0 20px 0;
		padding-left: 0;
		padding-right: 0;
		text-align: center;
	}

	/* Headings in the page / post content: smaller on tablets and phones */
	.post h1,
	.post h2,
	.post h3,
	.post h4,
	.post h5,
	.post h6 {
		line-height: 1.3;
		letter-spacing: 0;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}
	.post h1 { font-size: 22px; }
	.post h2 { font-size: 20px; }
	.post h3 { font-size: 18px; }
	.post h4 { font-size: 16px; }
	.post h5 { font-size: 15px; }
	.post h6 { font-size: 14px; }
	/* sizes typed in the editor (e.g. 24pt) would be too big on small screens */
	.post h1 [style*="font-size"],
	.post h2 [style*="font-size"],
	.post h3 [style*="font-size"],
	.post h4 [style*="font-size"],
	.post h5 [style*="font-size"],
	.post h6 [style*="font-size"] {
		font-size: inherit !important;
		line-height: inherit !important;
	}
	.sidebar-content .widget > .title h3 {
		text-align: center;
	}
	/* Fixed-width blocks inside the widgets (weather script, BNR rates table…) centred */
	.sidebar-content .widget .textwidget > *,
	.sidebar-content .widget .textwidget > * > div,
	.sidebar-content .widget table,
	.sidebar-content .widget iframe,
	.sidebar-content .widget [id^="weatherandtime-widget"] {
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.sidebar-content .widget iframe {
		display: block;
	}
	.sidebar-content .widget img {
		display: inline-block;
		height: auto !important;
	}
}
@media only screen and (max-width: 600px) {
	.post h1 { font-size: 20px; }
	.post h2 { font-size: 18px; }
	.post h3 { font-size: 17px; }
	.post h4 { font-size: 15px; }
	.post h5 { font-size: 14px; }
	.post h6 { font-size: 13px; }
}

/* Widgets in the sidebar (weather scripts, banners, iframes) never wider than the column */
.sidebar-content .widget {
	max-width: 100%;
	box-sizing: border-box;
}
.sidebar-content .textwidget,
.sidebar-content [id^="weatherandtime-widget"],
.sidebar-content [id^="weatherandtime-widget"] * {
	max-width: 100% !important;
	box-sizing: border-box;
}
.sidebar-content [id^="weatherandtime-widget"] {
	overflow: hidden;
}
.sidebar-content .widget iframe,
.sidebar-content .widget img,
.sidebar-content .widget table,
.sidebar-content .widget object,
.sidebar-content .widget embed {
	max-width: 100% !important;
}

/* =================================================================
   Single product: extra options (radio "Pret Ambalaj") and review stars
   ================================================================= */
/* Radio / checkbox and its text on the same line, vertically centred */
/* the plugin pulls the list 7.5px to the left; align it with the rest of the product column */
.tm-extra-product-options ul.tmcp-ul-wrap {
	margin-left: 0 !important;
}
.tm-extra-product-options ul li.tmcp-field-wrap {
	margin-left: 0 !important;
	padding-left: 0 !important;
	list-style: none !important;
	background-image: none !important;
}
.tm-extra-product-options ul li.tmcp-field-wrap::before {
	display: none !important;
}
.tm-extra-product-options .tmcp-field-wrap label.tm-epo-field-label {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0;
	cursor: pointer;
}
.tm-extra-product-options .tmcp-field-wrap input.tmcp-radio,
.tm-extra-product-options .tmcp-field-wrap input.tmcp-checkbox {
	position: static !important;
	flex: 0 0 auto;
	margin: 0 !important;
	vertical-align: middle;
}
.tm-extra-product-options .tmcp-field-wrap .tc-label {
	line-height: 1.3;
}

/* "Evaluarea ta": label on its own line, stars below it with some vertical spacing */
#respond .comment-form-rating label,
.comment-form-rating label {
	display: block;
	position: static !important;
	margin: 0 0 8px 0;
}
.woocommerce .comment-form-rating p.stars,
.woocommerce-page .comment-form-rating p.stars,
.woocommerce .comment-form-rating p.stars span,
.woocommerce-page .comment-form-rating p.stars span {
	display: block;
	margin: 0 0 15px 0 !important;
	padding-left: 0 !important;
	line-height: 1.6;
	text-align: left;
}
.woocommerce .comment-form-rating p.stars span,
.woocommerce-page .comment-form-rating p.stars span {
	margin-bottom: 0 !important;
}
.woocommerce .comment-form-rating p.stars a,
.woocommerce-page .comment-form-rating p.stars a {
	margin-bottom: 8px;
}

/* Related / up-sell products on phones: 2 per row.
   Overrides the old 3-per-row rules (:nth-child(3n) margin, :nth-child(4n) clear) */
@media only screen and (max-width: 600px) {
	.woocommerce .related ul.products li.product:nth-child(n),
	.woocommerce-page .related ul.products li.product:nth-child(n),
	.woocommerce .upsells.products ul.products li.product:nth-child(n),
	.woocommerce-page .upsells.products ul.products li.product:nth-child(n) {
		float: left !important;
		clear: none !important;
		width: 48% !important;
		margin: 0 4% 24px 0 !important;
	}
	.woocommerce .related ul.products li.product:nth-child(2n),
	.woocommerce-page .related ul.products li.product:nth-child(2n),
	.woocommerce .upsells.products ul.products li.product:nth-child(2n),
	.woocommerce-page .upsells.products ul.products li.product:nth-child(2n) {
		margin-right: 0 !important;
	}
	.woocommerce .related ul.products li.product:nth-child(2n+1),
	.woocommerce-page .related ul.products li.product:nth-child(2n+1),
	.woocommerce .upsells.products ul.products li.product:nth-child(2n+1),
	.woocommerce-page .upsells.products ul.products li.product:nth-child(2n+1) {
		clear: left !important;
	}
}

/* Product grids (shop, categories, related products): every image square,
   so the default image (197x180) has the same height as the product photos */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center;
}
