/*
Theme Name: Osom
Theme URI: https://osomstudio.com
Author: Osom Studio
Author URI: https://osomstudio.com
Description: A custom WordPress child theme based on Ollie, designed for WooCommerce with enhanced product pages and custom functionality.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ollie
Text Domain: osom
Tags: e-commerce, woocommerce, block-theme, child-theme, custom-theme
*/

.absolute {
	position: absolute;
	width: 100%;
	z-index: 999;
	border: 0;
}

.fixed-120 {
	min-width: 120px;
	margin-right: 0.5em !important;
}

ul.tabs.wc-tabs {
	display: none;
}

.product {
	margin-top: 0;
}

.margin-auto-custom {
	margin: auto !important;
}

button.wc-block-product-filter-checkbox-list__show-more {
	font-size: 15px;
}

.product-details-tabel :root :where(.is-layout-flow)> :first-child {
	margin-block-start: 0;
}

is-product-collection-layout-list {
	margin-block-start: 1rem;
}

.product-details-tabel .wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-f66f9956.wp-block-group-is-layout-flex {
	margin-block-start: 1rem;
}

.product-details-tabel .wp-block-separator:not(.is-style-dots),
.wp-block-separator.has-background:not(.is-style-dots) {
	margin-block-start: 1rem;
}

.read-more a {
	outline: 0 !important;
	background-color: transparent;
}

::placeholder {
	color: #1e181b !important;
}

.wpcf7 label {
	display: block;
	font-weight: 500;
	color: #1a1a1a;
}

.wpcf7 form {
	margin: 0 auto;
}

.product-seach-form .wp-block-search__input {
	background-color: #eef6ff !important;
}

svg.wc-block-product-filter-checkbox-list__mark {
	background-color: rgb(0, 100, 207);
	border-radius: 2px;
}

button.wc-block-product-filters__apply.wp-element-button {
	background-color: rgb(0, 100, 207);
	color: #fff;
	border-radius: 99px;
}

.wp-block-query-pagination-numbers a {
	background-color: #0064cf;
	color: #fff;
	padding: 1rem;
	text-align: center;
	border-radius: 50%;
	width: 55px;
	height: 55px;
	font-weight: bold;
	margin: 2px 0;
}

.product-listing-custom-flex ul {
	display: flex;
	flex-direction: column;
}

span.page-numbers.current {
	background-color: #d4eeff;
	color: #000;
	padding: 1rem;
	text-align: center;
	border-radius: 50%;
	width: 55px;
	height: 55px;
	font-weight: bold;
	display: inline-block;
	margin: 2px 0;
}

.wpcf7 label {
	display: block;
	font-weight: 500;
}

.wpcf7-form p {
	margin: 0;
}

.input-field {
	width: 100%;
	padding: 10px 15px;
	border: 1px solid #0071eb !important;
	border-radius: 20px !important;
	background: #f9fbff;
	margin-bottom: 20px;
	box-sizing: border-box;
}

.woocommerce img,
.woocommerce-page img {
	border-radius: 1rem;
}

textarea.input-field {
	height: 120px;
	resize: vertical;
	border-radius: 20px;
}

.contact-form-product h5 {
	font-size: 1.25rem;
	margin: 0 0 1.75rem 0;
}

h5.product-form-second-section {
	margin-top: 1.75rem;
}

.contact-form-product label {
	margin-bottom: 0 !important;
}

.attributes-shortcode-content p {
	display: none;
}

.attributes-shortcode-wrapper {
	margin-top: 1rem;
	flex-wrap: nowrap;
}

.attributes-shortcode-title {
	flex-basis: 120px;
	min-width: 120px;
}

input[type="checkbox"].wc-block-product-filter-checkbox-list__input:focus,
input[type="checkbox"].wc-block-product-filter-checkbox-list__input {
	padding: 0 !important;
}

.submit-button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 100px;
	color: var(--wp--preset--color--base);
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0%;
	padding-top: var(--wp--preset--spacing--small);
	padding-right: var(--wp--preset--spacing--medium);
	padding-bottom: var(--wp--preset--spacing--small);
	padding-left: var(--wp--preset--spacing--medium);
	border: 0;
}

span.wpcf7-form-control-wrap {
	margin-top: 4px;
	display: inline-block;
	width: 100%;
}

.submit-button:hover {
	background-color: #005bb5;
	text-decoration: underline;
}

.entry-content {
	margin-top: 0;
}

.general-info-row .wp-block-mfb-meta-field-block {
	display: flex;
	flex-direction: row;
}

.meta-fields-custom-gwi .prefix {
	width: 120px;
	margin-inline-end: 0 !important;
}

.meta-fields-custom-gwi .value {
	margin-left: 0.5em;
}

.fixed-120 {
	width: 120px;
}

.meta-fields-custom-gwi+.meta-fields-custom-gwi {
	border-top: 1px solid rgb(212, 238, 255);
}

.general-info-row {
	padding-top: 1rem;
	border-top: 1px solid rgb(212, 238, 255);
}

.meta-fields-custom-gwi {
	padding: 1rem 0;
	margin: 0;
}

.search-input-header-custom-width {
	display: contents !important;
}

.wp-block-search__input {
	border-color: #0064cf !important;
	outline-color: #0064cf;
	border-width: 2px !important;
}

.wp-block-search__input:focus-visible {
	outline-color: #00274c;
}

.inquiry-button {
	display: inline-block;
	background-color: #0071a1;
	color: #fff !important;
	padding: 12px 24px;
	text-decoration: none;
	border-radius: 3px;
	font-weight: 600;
	transition: background-color 0.3s ease;
	border: none;
	cursor: pointer;
	text-align: center;
}

.inquiry-button:hover {
	background-color: #005177;
	color: #fff !important;
}

a.reset_variations {
	display: none;
}

/* Dopasuj szerokość przycisku do standardowego WooCommerce */
.single_add_to_cart_button.inquiry-button {
	width: auto;
}

/* Style dla przycisku w pętli produktów */
.products .inquiry-button {
	display: block;
	margin-top: 0;
}

.variations-buttons {
	margin-bottom: 20px;
}

.variation-item {
	margin-bottom: 20px;
}

.variation-label {
	margin-bottom: 10px;
}

.variation-label label {
	font-weight: 600;
	font-size: 14px;
	display: block;
}

.variation-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.variation-button {
	padding: 16px 32px;
	border: 2px solid #0071a1;
	background: #fff;
	color: #000;
	cursor: pointer;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
	min-width: 120px;
}

.variation-button:hover {
	background-color: #f0f8ff;
}

.variation-button.selected {
	border-color: #0071a1;
	background-color: #d4ebf7;
	color: #000;
}

.reset_variations {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	text-decoration: underline;
}

.btn-primary button,
.btn-primary .wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button__text {
	background-color: var(--wp--preset--color--primary);
	border-radius: 100px;
	color: var(--wp--preset--color--base);
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0%;
	padding-top: var(--wp--preset--spacing--small);
	padding-right: var(--wp--preset--spacing--medium);
	padding-bottom: var(--wp--preset--spacing--small);
	padding-left: var(--wp--preset--spacing--medium);
	border: 0;
}

.btn-primary button:hover,
.btn-primary .wc-block-cart__submit-button:hover,
.btn-primary .wc-block-components-checkout-place-order-button__text:hover {
	background-color: #005bb5;
}

.variations-buttons {
	margin-bottom: 20px;
}

.variation-item {
	margin-bottom: 20px;
}

.variation-label {
	margin-bottom: 10px;
}

.variation-label label {
	font-weight: 600;
	font-size: 14px;
	display: block;
}

.variation-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.variation-button,
.btn-primary .variation-button {
	padding: 16px 32px;
	border: 2px solid #0071a1;
	background: #fff;
	color: #000;
	cursor: pointer;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
	min-width: 120px;
}

.variation-button:hover,
.btn-primary .variation-button:hover {
	background-color: #f0f8ff;
}

.variation-button.selected {
	border-color: #0071a1;
	background-color: #d4ebf7;
	color: #000;
}

.reset_variations {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	text-decoration: underline;
}

.wp-block-button-request {
	margin-top: 10px;
}

.reqeust-bulk-button {
	font-size: 0.9em;
}

.single-product .reset_variations {
	display: none;
}

input.qty {
	border: 2px solid #0071a1;
}

.wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button--full-width {
	width: fit-content;
	margin: auto;
	padding: 0;
}

.wc-block-components-radio-control__input,
input.wc-block-components-checkbox__input {
	padding: 0;
}

.product-gird-repair ul li {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-bottom: 1px solid #d4eeff;
	text-align: left;
	gap: var(--wp--preset--spacing--medium);
}

.product-gird-repair ul li h2 {
	text-align: left;
}

span.page-numbers.current,
.wp-block-query-pagination-numbers a {
	min-width: fit-content;
}

button.wc-block-components-button.wp-element-button.wc-block-components-totals-coupon__button.contained,
.woocommerce-form-register__submit,
.woocommerce-form-login__submit,
.woocommerce-account .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a,
.woocommerce :root :where(.wp-element-button, .wp-block-button__link),
:root :where(.wp-element-button, .wp-block-button__link) {
	border-radius: 99px;
	background-color: #0064cf;
	color: #fff;
}


.woocommerce form.register {
	border: none;
}

.file-downloader-block {
	padding-bottom: 1rem;
	border-bottom: 1px solid rgb(212, 238, 255);
}

.file-downloader-cont {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.file-download-item {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.file-download-label {
	font-weight: 600;
	color: #003057;
	/* Dark blue from screenshot approximation */
	font-size: 16px;
}

.file-download-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #000;
	font-weight: 500;
	font-size: 18px;
	transition: opacity 0.2s;
}

.file-download-link:hover {
	opacity: 0.7;
}

.file-download-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.file-download-divider {
	width: 1px;
	background-color: rgb(212, 238, 255);
	align-self: stretch;
	display: none;
}

.has-price .single_variation_wrap .wp-product-page-atc {
	display: flex;
	align-items: baseline;
}

.has-price .wp-product-page-buttons {
	margin-left: 1rem;
}

.has-price a.wp-block-button__link.wp-element-button.alt.wp-element-button {
	background: #fff;
	color: #0064cf;
	border: 2px solid #0064cf;
}

form.variations_form.has-price {
	display: flex;
	flex-direction: column;
}

form.has-price {
	flex-direction: row;
	display: flex !important;
}

.single_variation_wrap .woocommerce-variation-price {
	display: none;
}

.u-columns.woocommerce-Addresses.col2-set.addresses {
	display: flex;
	flex-direction: column;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
	width: 100%;
}

.woocommerce-account .wp-block-post-title {
	color: #00274c;
	text-align: center;
	font-size: 1.7rem;
	margin-bottom: 2rem;
}

.woocommerce form.login {
	border: none;
}

.woocommerce-account main .woocommerce {
	margin: auto;
}

.wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
	padding: 0;
}

.woocommerce-account .wp-block-post-title {
	max-width: 1000px !important;
	text-align: left !important;
	text-transform: capitalize;
}

header.woocommerce-Address-title.title h2 {
	font-size: 1.2rem;
}

.woocommerce-MyAccount-navigation {
	text-transform: capitalize;
}

.woocommerce-account .addresses .title .edit {
	float: left;
}

body:not(.logged-in) .menu-item-logout {
	display: none;
}

body.logged-in .menu-item-login,
body.logged-in .menu-item-register {
	display: none;
}

@media (min-width: 768px) {
	.file-download-divider {
		display: block;
	}
}

@media (max-width: 1200px) {
	.home-hero .hero-column {
		padding-top: 115px;
	}

	.file-downloader-cont {
		flex-wrap: wrap;
		gap: 1.rem;
	}

	.file-download-divider {
		display: none;
	}
}

@media (min-width: 991px) {
	.product-spec-tabel {
		grid-template-columns: 1fr 1fr;
		column-gap: 30px;
		row-gap: 0;
		display: grid;
	}

	.product-spec-tabel div:nth-child(2) {
		border-top: 0;
	}

	.has-price .single_variation_wrap .wp-product-page-atc {
		flex-wrap: wrap;
	}
}

@media (max-width: 781px) {
	.contact-form-padding {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.services-padding-mobile .wp-block-column.is-vertically-aligned-center.is-layout-flow.wp-block-column-is-layout-flow {
		padding: 0 !important;
	}

	.services-padding-mobile>*:nth-child(even) .wp-block-columns {
		flex-direction: column-reverse;
	}

	.mobile-hidden {
		display: none !important;
	}

	.about-padding-mobile,
	.about-padding-mobile-2 .has-global-padding,
	.about-padding-mobile-3 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.flexwrap-off-mobile .wp-block-column .is-layout-flex {
		flex-wrap: nowrap;
	}

	.wp-container-content-962be591 {
		flex-basis: 95px !important;
	}
}

@media (max-width: 599px) {
	.home span.wp-block-navigation-item__label {
		color: #000 !important;
	}

	.product-gird-repair ul li {
		grid-template-columns: 1.25fr 1fr 1fr !important;
	}

	.product-gird-repair ul li h2 {
		font-size: 13px;
	}

	.has-price .single_variation_wrap .wp-product-page-atc {
		flex-direction: column;
	}

	form.has-price {
		flex-direction: column;
	}

	.has-price .wp-product-page-buttons {
		margin-left: 0;
		margin-top: 1rem;
	}

	.home li.has-small-font-size.wp-block-navigation-item.current-menu-item.wp-block-navigation-link {
		background-color: #00000008 !important;
		border-radius: 5px;
	}

	.mobile-padding-10 {
		padding-left: 10px;
		padding-right: 10px;
	}

	.mobile-grid-3,
	.mobile-grid-3 .grid-products-mobile {
		grid-template-columns: 1.25fr 1fr 1fr !important;
	}

	.mobile-grid-3>p:last-child,
	.mobile-grid-3 .grid-products-mobile> :last-child {
		display: none !important;
	}

	.mobile-grid-3 p,
	.mobile-grid-3 h5 {
		font-size: 13px !important;
	}
}

@media (max-width: 480px) {
	.home-hero .hero-column h1 {
		font-size: 34px;
	}
}

.wpcf7-not-valid-tip {
	margin-top: -20px;
	font-size: 14px;
}