/*
Theme Name:   Storefront Child — Всі сезони
Theme URI:    https://allseasons.com.ua
Description:  Світлий мінімалістичний стиль (Apple-like) поверх Storefront.
Author:       Всі сезони
Template:     storefront
Version:      1.2.0
Text Domain:  storefront-child
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--sf-bg: #fff;
	--sf-surface: #f5f5f7;
	--sf-surface-2: #e8e8ed;
	--sf-text: #1d1d1f;
	--sf-muted: #6e6e73;
	--sf-line: #d2d2d7;
	--sf-accent: #0071e3;
	--sf-accent-hover: #0077ed;
	--sf-danger: #d70015;
	--sf-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--r-lg: 22px;
	--r-md: 14px;
	--pill: 980px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html body,
html body .site {
	background: var(--sf-bg) !important;
}

body,
button,
input,
select,
textarea {
	font-family: var(--sf-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	color: var(--sf-text);
	font-size: 1rem;
	line-height: 1.55;
	letter-spacing: -0.01em;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
	color: var(--sf-text);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

body .site-content a:not(.button):not(.sfc-btn):not(.sfc-tile) {
	color: var(--sf-accent);
	text-decoration: none;
}

body .site-content a:not(.button):not(.sfc-btn):not(.sfc-tile):hover {
	text-decoration: underline;
}

:focus-visible {
	outline: 2px solid var(--sf-accent);
	outline-offset: 2px;
	border-radius: 6px;
}

::selection {
	background: rgba(0, 113, 227, 0.2);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   3. Header
   ========================================================================== */
body .site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 0 !important;
	background: rgba(255, 255, 255, 0.78) !important;
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
	color: var(--sf-text);
}

body.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

body .site-header .site-branding {
	margin-bottom: 0;
	padding: 0.9rem 0;
}

body .site-header .site-branding img,
body .site-header .custom-logo-link img {
	max-height: 44px;
	width: auto;
}

body .site-header a:not(.button),
body .site-header .site-title a,
body .main-navigation ul.menu > li > a,
body .main-navigation ul.nav-menu > li > a,
body .secondary-navigation a {
	color: var(--sf-text) !important;
	text-decoration: none;
}

body .secondary-navigation {
	font-size: 0.8125rem;
}

body .secondary-navigation a {
	color: var(--sf-muted) !important;
}

body .main-navigation ul.menu > li > a,
body .main-navigation ul.nav-menu > li > a {
	font-size: 0.9375rem;
	font-weight: 400;
	padding: 1rem 0.9rem;
}

body .main-navigation ul.menu > li > a:hover,
body .main-navigation ul.nav-menu > li > a:hover,
body .secondary-navigation a:hover {
	color: var(--sf-accent) !important;
}

body .main-navigation ul ul {
	background: #fff !important;
	border-radius: var(--r-md);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	padding: 0.5rem;
}

body .main-navigation ul ul li a {
	color: var(--sf-text) !important;
	border-radius: 8px;
	font-size: 0.9375rem;
}

body .main-navigation ul ul li a:hover {
	background: var(--sf-surface) !important;
}

body .site-search .widget_product_search input[type="search"],
body .site-search input[type="search"] {
	background: var(--sf-surface) !important;
	border: 0 !important;
	border-radius: var(--pill) !important;
	padding: 0.55em 1.1em 0.55em 2.6em;
	font-size: 0.9375rem;
}

body .site-header-cart .cart-contents {
	color: var(--sf-text) !important;
	font-size: 0.9375rem;
}

body .site-header-cart .widget_shopping_cart {
	background: #fff !important;
	border-radius: var(--r-md);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
	color: var(--sf-text);
}

body .menu-toggle,
body button.menu-toggle {
	background: transparent !important;
	border: 0 !important;
	color: var(--sf-text) !important;
	box-shadow: none !important;
}

/* ==========================================================================
   4. Hero + category tiles (front page)
   ========================================================================== */
.sfc-hero {
	text-align: center;
	padding: clamp(2.5rem, 8vw, 6rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.sfc-hero h1 {
	margin: 0 auto 0.6em;
	max-width: 14ch;
	font-size: clamp(2.5rem, 7vw, 4.5rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.04;
}

.sfc-hero__lead {
	margin: 0 auto 1.6rem;
	max-width: 44ch;
	font-size: clamp(1.0625rem, 2vw, 1.3125rem);
	color: var(--sf-muted);
	line-height: 1.4;
}

.sfc-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.75rem 1.75rem;
	margin: 0;
}

body .sfc-btn,
body .site-content a.sfc-btn {
	display: inline-block;
	background: var(--sf-accent);
	color: #fff !important;
	border-radius: var(--pill);
	padding: 0.7em 1.5em;
	font-size: 1.0625rem;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s;
}

body .sfc-btn:hover,
body .site-content a.sfc-btn:hover {
	background: var(--sf-accent-hover);
	text-decoration: none;
}

.sfc-link {
	font-size: 1.0625rem;
}

.sfc-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 1rem;
	margin: 0 0 clamp(2rem, 5vw, 4rem);
}

body .sfc-tile {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 260px;
	padding: 1.5rem 1.6rem;
	background-color: var(--sf-surface);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: right center;
	border-radius: var(--r-lg);
	color: var(--sf-text) !important;
	text-decoration: none !important;
	overflow: hidden;
	transition: box-shadow 0.25s;
}

/* Soft white veil under the text keeps it readable over any picture */
body .sfc-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 30%, rgba(255, 255, 255, 0) 62%);
}

body .sfc-tile:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sfc-tile--women     { background-image: url("assets/img/tile-women.svg"); }
.sfc-tile--men       { background-image: url("assets/img/tile-men.svg"); }
.sfc-tile--windproof { background-image: url("assets/img/tile-windproof.svg"); }
.sfc-tile--sale      { background-image: url("assets/img/tile-sale.svg"); }

.sfc-tile__name {
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.sfc-tile__count {
	margin-top: 0.2rem;
	font-size: 0.9375rem;
	color: var(--sf-muted);
}

@media (max-width: 600px) {
	.sfc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	body .sfc-tile { min-height: 210px; padding: 1.1rem; }
	.sfc-tile__name { font-size: 1.0625rem; }
}

/* ==========================================================================
   5. Catalog grid + product cards
   ========================================================================== */
body .woocommerce-breadcrumb {
	padding: 1.2rem 0 0.4rem;
	margin: 0;
	font-size: 0.8125rem;
	color: var(--sf-muted);
}

body .woocommerce-breadcrumb a {
	color: var(--sf-muted) !important;
}

body .woocommerce-products-header .page-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	letter-spacing: -0.03em;
	margin: 0.5rem 0 1.5rem;
}

body .storefront-sorting {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.75rem;
}

body .storefront-sorting .woocommerce-ordering,
body .storefront-sorting .woocommerce-result-count {
	margin: 0;
	float: none;
}

body .woocommerce-result-count {
	font-size: 0.875rem;
	color: var(--sf-muted);
}

body .woocommerce-ordering select {
	border-radius: var(--pill) !important;
	padding: 0.5em 2.2em 0.5em 1em;
	font-size: 0.875rem;
}

body ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	gap: 2.5rem 1.5rem;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

/* Storefront's clearfix pseudo-elements would become grid items */
body ul.products::before,
body ul.products::after {
	content: none !important;
	display: none !important;
}

body ul.products li.product {
	position: relative;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0;
	display: flex;
	flex-direction: column;
	text-align: left;
}

body ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: var(--sf-text) !important;
	text-decoration: none !important;
}

.sfc-thumb {
	display: block;
	position: relative;
	aspect-ratio: 1 / 1;
	padding: 7%;
	margin: 0 0 1rem;
	background: var(--sf-surface);
	border-radius: var(--r-lg);
	overflow: hidden;
}

/* multiply makes white photo backgrounds melt into the grey card */
.sfc-thumb img,
body ul.products li.product .sfc-thumb img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: contain;
	mix-blend-mode: multiply;
	box-shadow: none;
}

body ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 0.25rem;
	padding: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--sf-text);
}

body ul.products li.product .price {
	display: block;
	margin: 0 0 0.9rem;
	font-size: 0.9375rem;
	font-weight: 400;
	color: var(--sf-muted) !important;
}

body .price del {
	opacity: 0.6;
}

body .price ins {
	background: none;
	text-decoration: none;
	font-weight: 500;
	color: var(--sf-text);
}

body ul.products li.product .button {
	align-self: flex-start;
	margin: 0 0.5rem 0.4rem 0;
}

body .onsale {
	position: absolute;
	top: 0.8rem;
	left: 0.8rem;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.3em 0.8em;
	background: var(--sf-text) !important;
	color: #fff !important;
	border: 0;
	border-radius: var(--pill);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
}

body .woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	border: 0;
}

body .woocommerce-pagination ul.page-numbers li {
	border: 0;
	margin: 0;
}

body .woocommerce-pagination .page-numbers a,
body .woocommerce-pagination .page-numbers span {
	display: block;
	min-width: 2.5rem;
	padding: 0.55em 0.9em;
	border-radius: var(--pill);
	background: transparent;
	color: var(--sf-text) !important;
	text-align: center;
	text-decoration: none;
}

body .woocommerce-pagination .page-numbers a:hover {
	background: var(--sf-surface);
}

body .woocommerce-pagination .page-numbers .current {
	background: var(--sf-text);
	color: #fff !important;
}

@media (max-width: 600px) {
	body ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.75rem 0.9rem;
	}
	body ul.products li.product .woocommerce-loop-product__title {
		font-size: 0.9375rem;
	}
}

/* ==========================================================================
   6. Sidebar / filters
   ========================================================================== */
body .widget-area .widget {
	margin-bottom: 2rem;
	padding: 0;
	background: none;
}

body .widget-area .widget-title,
body .widget-area .gamma {
	margin-bottom: 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: -0.01em;
}

body .widget-area .widget ul li {
	padding: 0.3rem 0;
	border: 0;
	font-size: 0.9375rem;
}

body .widget-area .widget a {
	color: var(--sf-text) !important;
}

body .widget-area .widget a:hover {
	color: var(--sf-accent) !important;
}

body .widget-area .count {
	color: var(--sf-muted);
	font-size: 0.8125rem;
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */
body .button,
body button.button,
body input[type="submit"],
body input[type="button"],
body .added_to_cart,
body .widget a.button {
	display: inline-block;
	padding: 0.65em 1.3em;
	background: var(--sf-surface-2) !important;
	color: var(--sf-text) !important;
	border: 0 !important;
	border-radius: var(--pill) !important;
	box-shadow: none !important;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-decoration: none;
	text-transform: none;
	transition: background-color 0.2s, color 0.2s;
}

body .button:hover,
body input[type="submit"]:hover,
body .added_to_cart:hover {
	background: #d8d8de !important;
}

body .button.alt,
body button.alt,
body input.alt,
body .add_to_cart_button,
body .single_add_to_cart_button,
body .checkout-button,
body #place_order,
body .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	background: var(--sf-accent) !important;
	color: #fff !important;
}

body .button.alt:hover,
body button.alt:hover,
body .add_to_cart_button:hover,
body .single_add_to_cart_button:hover,
body .checkout-button:hover,
body #place_order:hover {
	background: var(--sf-accent-hover) !important;
}

body .single_add_to_cart_button,
body #place_order,
body .checkout-button {
	padding: 0.9em 2em;
	font-size: 1.0625rem;
}

body ul.products li.product .added_to_cart {
	background: none !important;
	color: var(--sf-accent) !important;
	padding: 0.4em 0;
}

/* ==========================================================================
   8. Forms
   ========================================================================== */
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="url"],
body input[type="password"],
body input[type="number"],
body input[type="search"],
body textarea,
body select,
body .select2-container--default .select2-selection--single {
	background: #fff;
	color: var(--sf-text);
	border: 1px solid var(--sf-line);
	border-radius: 12px;
	box-shadow: none;
	padding: 0.75em 1em;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

body .select2-container--default .select2-selection--single {
	height: auto;
	padding: 0.45em 0.5em;
}

body input:focus,
body textarea:focus,
body select:focus {
	outline: 0;
	border-color: var(--sf-accent);
	box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

body .quantity .qty {
	width: 4.5em;
	padding: 0.7em 0.5em;
	border-radius: var(--pill);
	text-align: center;
}

/* ==========================================================================
   9. Single product
   ========================================================================== */
body .woocommerce-product-gallery__wrapper,
body .woocommerce-product-gallery__image {
	background: var(--sf-surface);
	border-radius: var(--r-lg);
	overflow: hidden;
}

body .woocommerce-product-gallery__image img {
	mix-blend-mode: multiply;
}

body .woocommerce div.product .product_title {
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	letter-spacing: -0.03em;
	margin-bottom: 0.5rem;
}

body .woocommerce div.product p.price,
body .woocommerce div.product span.price {
	margin-bottom: 1.25rem;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--sf-text);
}

body .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid var(--sf-line);
}

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

body .woocommerce-tabs ul.tabs li {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body .woocommerce-tabs ul.tabs li::before,
body .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

body .woocommerce-tabs ul.tabs li a {
	color: var(--sf-muted) !important;
	font-weight: 500;
}

body .woocommerce-tabs ul.tabs li.active a {
	color: var(--sf-text) !important;
	box-shadow: inset 0 -2px 0 var(--sf-text);
}

body .storefront-sticky-add-to-cart {
	background: rgba(255, 255, 255, 0.85) !important;
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	color: var(--sf-text);
}

/* ==========================================================================
   10. Cart & checkout
   ========================================================================== */
body .shop_table,
body .woocommerce table.shop_table {
	border: 0;
	border-collapse: collapse;
}

body .woocommerce table.shop_table th,
body .woocommerce table.shop_table td {
	border-color: var(--sf-line);
}

body .cart_totals,
body #order_review,
body .woocommerce-checkout #payment {
	background: var(--sf-surface) !important;
	border-radius: var(--r-lg);
	padding: 1.5rem;
}

body .woocommerce-checkout #payment ul.payment_methods {
	border-color: var(--sf-line);
}

body .woocommerce-checkout #payment div.payment_box {
	background: #fff !important;
	color: var(--sf-text);
	border-radius: var(--r-md);
}

body .woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error,
body .woocommerce-noreviews,
body p.no-comments {
	background: var(--sf-surface) !important;
	color: var(--sf-text) !important;
	border: 0 !important;
	border-radius: var(--r-md);
	padding: 1rem 1.25rem 1rem 3.2rem;
}

body .woocommerce-message::before,
body .woocommerce-info::before {
	color: var(--sf-accent) !important;
}

body .woocommerce-error::before {
	color: var(--sf-danger) !important;
}

/* WooCommerce block-based cart & checkout */
body .wc-block-components-button:not(.is-link) {
	background: var(--sf-accent) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: var(--pill) !important;
	font-weight: 500;
}

body .wc-block-components-text-input input,
body .wc-block-components-combobox .components-combobox-control__suggestions-container,
body .wc-block-components-select .wc-block-components-select__select {
	border-radius: 12px !important;
	border-color: var(--sf-line) !important;
}

body .wc-block-components-sidebar .wc-block-components-totals-wrapper,
body .wp-block-woocommerce-cart-totals-block,
body .wp-block-woocommerce-checkout-order-summary-block {
	border-radius: var(--r-lg);
}

/* ==========================================================================
   11. Footer + mobile bar
   ========================================================================== */
body .site-footer {
	margin-top: 2rem;
	padding: 2.5rem 0;
	background: var(--sf-surface) !important;
	color: var(--sf-muted) !important;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.8125rem;
}

body .site-footer a:not(.button),
body .site-footer .widget-title,
body .site-footer h1,
body .site-footer h2,
body .site-footer h3 {
	color: var(--sf-muted) !important;
}

body .site-footer a:not(.button):hover {
	color: var(--sf-text) !important;
}

body .site-footer .widget-title {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: none;
}

body .storefront-handheld-footer-bar {
	background: rgba(255, 255, 255, 0.85) !important;
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: none;
}

body .storefront-handheld-footer-bar ul li > a {
	background: transparent !important;
	border: 0 !important;
	color: var(--sf-text) !important;
}

body .storefront-handheld-footer-bar ul li > a::before {
	color: var(--sf-text) !important;
}

body .storefront-handheld-footer-bar ul li.cart .count {
	background: var(--sf-accent) !important;
	color: #fff !important;
	border-color: #fff !important;
}

/* Mobile bar: the search field sits inside the bar and Storefront reveals it with
   .active. Our transparent links no longer cover it, so hide it until opened. */
body .storefront-handheld-footer-bar ul li.search .site-search {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	background: rgba(255, 255, 255, 0.96) !important;
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	transition: bottom 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
}

body .storefront-handheld-footer-bar ul li.search.active .site-search {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition: bottom 0.2s ease, opacity 0.2s ease;
}

/* Mobile catalog: filters open from the filter icon, so hide the duplicate sidebar
   that Storefront stacks under the products. Desktop keeps the sidebar. */
@media (max-width: 767px) {
	body.woocommerce-shop #secondary,
	body.post-type-archive-product #secondary,
	body.tax-product_cat #secondary,
	body.tax-product_tag #secondary {
		display: none;
	}
}

/* ==========================================================================
   12. Contact icons (phone / Telegram / Instagram)
   ========================================================================== */
:root {
	--ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	--ico-telegram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E");
	--ico-instagram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E");
}

/* Mobile bar: icons are drawn by ::before (Storefront's own icon slot) */
body .storefront-handheld-footer-bar ul li.phone > a::before,
body .storefront-handheld-footer-bar ul li.telegram > a::before,
body .storefront-handheld-footer-bar ul li.instagram > a::before {
	content: "";
	font-family: inherit;
	background-color: var(--sf-text);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 24px 24px;
	mask-size: 24px 24px;
}

body .storefront-handheld-footer-bar ul li.phone > a::before     { -webkit-mask-image: var(--ico-phone);     mask-image: var(--ico-phone); }
body .storefront-handheld-footer-bar ul li.telegram > a::before  { -webkit-mask-image: var(--ico-telegram);  mask-image: var(--ico-telegram); }
body .storefront-handheld-footer-bar ul li.instagram > a::before { -webkit-mask-image: var(--ico-instagram); mask-image: var(--ico-instagram); }

/* Desktop: top menu links "." (Telegram, Instagram) become icons, phone gets an icon */
body .secondary-navigation a[href*="t.me/"],
body .secondary-navigation a[href*="instagram.com"] {
	display: inline-block;
	width: 18px;
	height: 18px;
	padding: 0;
	font-size: 0;
	vertical-align: middle;
	background-color: var(--sf-muted);
	-webkit-mask: var(--ico-telegram) center / 18px 18px no-repeat;
	mask: var(--ico-telegram) center / 18px 18px no-repeat;
}

body .secondary-navigation a[href*="instagram.com"] {
	-webkit-mask-image: var(--ico-instagram);
	mask-image: var(--ico-instagram);
}

body .secondary-navigation a[href*="t.me/"]:hover,
body .secondary-navigation a[href*="instagram.com"]:hover {
	background-color: var(--sf-accent);
}

body .secondary-navigation a[href^="tel:"]::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 0.4em;
	vertical-align: -2px;
	background-color: currentColor;
	-webkit-mask: var(--ico-phone) center / 14px 14px no-repeat;
	mask: var(--ico-phone) center / 14px 14px no-repeat;
}

/* ==========================================================================
   13. Product page: no sidebar / filters
   ========================================================================== */
body.single-product #secondary,
body.sfc-no-sidebar #secondary {
	display: none !important;
}

body.sfc-no-sidebar .content-area {
	width: 100% !important;
	float: none !important;
	margin-right: 0 !important;
}

/* ==========================================================================
   14. "Швидка покупка" (secondary button), empty header, callback widget, footer
   ========================================================================== */
body .clickBuyButton.single_add_to_cart_button,
body .clickBuyButton {
	padding: 0.65em 1.3em;
	background: var(--sf-surface-2) !important;
	color: var(--sf-text) !important;
	font-size: 0.9375rem;
}

body .clickBuyButton:hover {
	background: #d8d8de !important;
}

body .woocommerce-products-header:not(:has(*)) {
	display: none;
}

/* Callback widget: brand colour, and keep it above the mobile bar */
body .bazz-widget,
body .bazz-widget-close,
body .bazz-widget-form-submit,
body .bazz-widget-button,
body .bazz-widget-name-close,
body .bazz-widget-inner-circle {
	background-color: var(--sf-accent) !important;
}

body .bazz-widget-inner-border,
body .bazz-widget-form-submit,
body .bazz-widget-name-close {
	border-color: var(--sf-accent) !important;
}

body .bazz-widget-form-top .countdown {
	color: var(--sf-accent) !important;
}

@media (max-width: 575px) {
	body .bazz-widget:not(.opened) {
		bottom: 4.8rem !important;
		right: 0.5rem !important;
	}
}

/* Desktop footer */
.sfc-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem 2rem;
}

.sfc-footer__links,
.sfc-footer__contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.5rem;
}

.sfc-footer__copy {
	flex-basis: 100%;
	margin: 0.5rem 0 0;
	font-size: 0.75rem;
}

.sfc-social {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: var(--sf-muted);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

body .site-footer a.sfc-social:hover {
	background-color: var(--sf-accent);
}

.sfc-social--telegram  { -webkit-mask-image: var(--ico-telegram);  mask-image: var(--ico-telegram); }
.sfc-social--instagram { -webkit-mask-image: var(--ico-instagram); mask-image: var(--ico-instagram); }

@media (max-width: 767px) {
	/* room for the fixed mobile bar */
	body .site-footer {
		padding-bottom: 6rem;
	}
}
