/**
 * Minishop theme overrides — WordPress/WooCommerce glue on top of the Colorlib
 * stylesheet (assets/css/style.css). Layout values that are static live here as
 * classes; only ACF-driven values use inline styles.
 */

/* -------------------------------------------------------------------------
 * Accessibility: skip link + screen-reader text (required by Theme Check)
 * ---------------------------------------------------------------------- */
.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;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
}

.skip-link:focus {
	left: 6px;
	top: 6px;
	z-index: 100000;
	display: inline-block;
	padding: 12px 20px;
	background: #f96d00;
	color: #fff;
	border-radius: 3px;
}

/* Visible keyboard focus everywhere (a11y baseline). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
	outline: 2px solid #f96d00;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* -------------------------------------------------------------------------
 * Header: custom logo inside the Bootstrap navbar
 * ---------------------------------------------------------------------- */
.ftco-navbar-light .custom-logo-link {
	display: inline-block;
	padding: 0;
	margin-right: 1rem;
}

.ftco-navbar-light .custom-logo {
	max-height: 43px;
	width: auto;
}

.top-bar a.text {
	color: inherit;
	text-decoration: none;
}

.top-bar a.text:hover {
	color: #fff;
}

.minishop-cart-count,
.minishop-wishlist-count {
	font-weight: 700;
}

/* -------------------------------------------------------------------------
 * Product card: h2 title styled like the original .product h3
 * ---------------------------------------------------------------------- */
.product .product-title {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	margin: 0 0 5px 0;
}

.product .product-title a {
	color: #000;
}

.product .product-title a:hover {
	color: #f96d00;
}

.product .price ins {
	text-decoration: none;
}

.product .price del {
	color: #b3b3b3;
	margin-right: 6px;
	font-weight: 400;
}

.product .status--out {
	background: #555;
}

/* WooCommerce loop thumbnails don't carry the original .img-fluid class, so the
   600px image overflowed the column and got clipped tall by .img-prod{overflow:hidden}.
   Constrain it to the card width (square thumbnails → uniform card heights). */
.product .img-prod img {
	width: 100%;
	height: auto;
	display: block;
}

/* WooCommerce loop add-to-cart button restyled to the Colorlib ".add-to-cart". */
.product .bottom-area a.button.minishop-add-to-cart {
	flex: 0 0 50%;
	width: 50%;
	text-align: center;
	padding: 8px 5px;
	margin: 0 4px 0 0;
	background: #fff;
	color: #000;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0;
	font-size: 13px;
	line-height: 1.3;
}

.product .bottom-area a.button.minishop-add-to-cart:hover,
.product .bottom-area a.button.minishop-add-to-cart.added {
	background: #f96d00;
	color: #fff;
	border-color: #f96d00;
}

.product .bottom-area a.button.minishop-add-to-cart.loading::after {
	font-family: "WooCommerce";
}

/* Wishlist heart pinned to the product image corner. */
.minishop-wishlist-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 6;
}

.minishop-wishlist-btn .yith-wcwl-add-to-wishlist {
	margin: 0;
}

.minishop-wishlist-btn .yith-wcwl-add-button > a,
.minishop-wishlist-btn .yith-wcwl-wishlistaddedbrowse > a,
.minishop-wishlist-btn .yith-wcwl-wishlistexistsbrowse > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	color: #f96d00;
	font-size: 0;
	gap: 0;
}

.minishop-wishlist-btn .yith-wcwl-add-to-wishlist .feedback,
.minishop-wishlist-btn .yith-wcwl-add-to-wishlist .ajax-loading {
	display: none;
}

/* -------------------------------------------------------------------------
 * Shop toolbar (result count + ordering on one row)
 * ---------------------------------------------------------------------- */
.shop-toolbar {
	border-bottom: 1px solid #eee;
	padding-bottom: 1rem;
}

.shop-toolbar .woocommerce-result-count,
.shop-toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.minishop-shop-sidebar .sidebar-box-2 {
	margin-bottom: 30px;
}

/* -------------------------------------------------------------------------
 * Single product: neutralize WooCommerce's 48%/float layout (Bootstrap cols win)
 * ---------------------------------------------------------------------- */
.woocommerce div.product .minishop-product-gallery,
.woocommerce div.product .summary.entry-summary {
	width: auto;
	float: none;
	margin-bottom: 0;
	clear: none;
}

.woocommerce div.product .woocommerce-product-gallery {
	width: 100%;
	float: none;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #f96d00;
	font-size: 24px;
	font-weight: 700;
}

.woocommerce div.product form.cart {
	margin-top: 1.5rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
	display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: #f8f9fd;
	border: none;
	border-radius: 4px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: #f96d00;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #fff;
}

/* -------------------------------------------------------------------------
 * WooCommerce buttons / notices in the theme accent
 * ---------------------------------------------------------------------- */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: #f96d00;
	color: #fff;
	border-radius: 4px;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: #d95f00;
	color: #fff;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: #f96d00;
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: #f96d00;
}

/* WooCommerce pagination → match the Colorlib block-27 pills. */
.woocommerce nav.woocommerce-pagination ul {
	border: none;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	width: 40px;
	height: 40px;
	line-height: 40px;
	padding: 0;
	border: 1px solid #eee;
	border-radius: 4px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: #f96d00;
	color: #fff;
	border-color: #f96d00;
}

/* -------------------------------------------------------------------------
 * Blog single: WP-generated regions the mockup omits (comments, author, nav)
 * ---------------------------------------------------------------------- */
.single-content .entry-content {
	margin-bottom: 2rem;
}

.author-bio {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #f8f9fd;
	padding: 24px;
	border-radius: 6px;
	margin: 2rem 0;
}

.author-bio__avatar {
	border-radius: 50%;
}

.author-bio__name {
	display: block;
	font-size: 16px;
}

.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	margin-left: 24px;
}

.comment-body {
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

.comment-author .avatar {
	border-radius: 50%;
	margin-right: 12px;
}

.comment-respond {
	margin-top: 2rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-field {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	background: #fff;
}

.post-navigation,
.posts-navigation {
	margin: 2rem 0;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

/* -------------------------------------------------------------------------
 * Gutenberg block content alignment
 * ---------------------------------------------------------------------- */
.entry-content > * {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.entry-content > .alignwide {
	max-width: 1140px;
}

.entry-content > .alignfull {
	max-width: none;
}

.entry-content > .alignleft {
	margin-left: 0;
}

.entry-content > .alignright {
	margin-right: 0;
}

/* -------------------------------------------------------------------------
 * Misc fixes
 * ---------------------------------------------------------------------- */
.hero-wrap.hero-bread {
	background-size: cover;
	background-position: center;
}

.minishop-empty {
	padding: 60px 0;
	text-align: center;
}

/* Single-product quantity +/- buttons. */
.woocommerce div.product form.cart .quantity {
	display: inline-flex;
	align-items: stretch;
}

.minishop-qty-btn {
	width: 40px;
	border: 1px solid #e6e6e6;
	background: #f8f9fd;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.minishop-qty-btn.minus {
	border-right: 0;
}

.minishop-qty-btn.plus {
	border-left: 0;
}

.woocommerce div.product form.cart .quantity input.qty {
	width: 56px;
	text-align: center;
	border-radius: 0;
}

/* -------------------------------------------------------------------------
 * Custom components introduced by the conversion
 * ---------------------------------------------------------------------- */

/* Services archive card. */
.service-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	transform: translateY(-3px);
}

.service-card__icon span {
	font-size: 46px;
	color: #f96d00;
}

.service-card__title a {
	color: #000;
}

.service-card__title a:hover {
	color: #f96d00;
}

.service-card__link {
	display: inline-block;
	margin-top: 8px;
	color: #f96d00;
	font-weight: 600;
}

/* Single service. */
.minishop-service-img {
	min-height: 360px;
	background-size: cover;
	background-position: center;
	border-radius: 6px;
}

.minishop-check {
	color: #f96d00;
	font-size: 20px;
}

.minishop-step-icon {
	font-size: 50px;
	color: #f96d00;
}

/* Contact. */
.minishop-map,
.minishop-map iframe {
	width: 100%;
	min-height: 360px;
}

.minishop-map--empty {
	border: 1px dashed #ddd;
}

.minishop-hp {
	position: absolute !important;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* 404. */
.minishop-404-code {
	font-size: 90px;
	font-weight: 900;
	color: #f96d00;
	line-height: 1;
}

/* Bootstrap-style alerts (fallback if not provided by the base stylesheet). */
.alert {
	padding: 14px 18px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.alert-success {
	background: #e6f6ec;
	color: #1c7a3f;
}

.alert-warning {
	background: #fff6e0;
	color: #9a6b00;
}

.alert-danger {
	background: #fdeaea;
	color: #b02a2a;
}

/* FAQ accordion spacing. */
.minishop-faq .panel {
	margin-bottom: 12px;
}
