/*!
Theme Name: Noqta
Theme URI: http://underscores.me/
Author: Noquta
Author URI: http://underscores.me/
Description: Description
Version: 5.0.0 
Tested up to: 5.4 
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE 
Text Domain: noqta
Domain Path: /languages
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Noqta is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Fonts
--------------------------------------------- */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./../../../fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("./fonts/IBM_Plex_Sans_Arabic/IBMPlexSansArabic-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}
/* Typography
--------------------------------------------- */
:root {
  --color__primary: #1B84E4;
  --text-above-primary: red;
  /*--color__primary-light: rgba(27, 131, 228, 0.1568627451);*/
  --color__primary-light: color-mix(in srgb, var(--color__primary) 70%, white 30%);
  --color__button__text: #fff;
  --border-radius: 0;
  /*
  --color__background-body: #fff;
  --color__background-screen: #f1f1f1;
  --color__background-hr: #ccc;
  --color__background-button: #1B84E4;
  --color__background-pre: #eee;
  --color__background-ins: #fff9c0;
  --color__background-input: #f4f6f8;

  --color__text-screen: #21759b;
  --color__text-input: #666;
  --color__text-input-focus: #111;
  --color__link: #000;
  --color__link-visited: #800080;
  --color__link-hover: #1B84E4;
  --color__text-main: #000;
  --color__text-button: #ffffff;

  --color__border-button: #ccc #ccc #bbb;
  --color__border-button-hover: #ccc #bbb #aaa;
  --color__border-button-focus: #aaa #bbb #bbb;
  --color__border-input: #ccc;
  --color__border-abbr: #666;
  */
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #000;
  font-family: "IBM Plex Sans Arabic", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

:root {
  --color__primary: #1B84E4;
  --text-above-primary: red;
  /*--color__primary-light: rgba(27, 131, 228, 0.1568627451);*/
  --color__primary-light: color-mix(in srgb, var(--color__primary) 70%, white 30%);
  --color__button__text: #fff;
  --border-radius: 0;
  /*
  --color__background-body: #fff;
  --color__background-screen: #f1f1f1;
  --color__background-hr: #ccc;
  --color__background-button: #1B84E4;
  --color__background-pre: #eee;
  --color__background-ins: #fff9c0;
  --color__background-input: #f4f6f8;

  --color__text-screen: #21759b;
  --color__text-input: #666;
  --color__text-input-focus: #111;
  --color__link: #000;
  --color__link-visited: #800080;
  --color__link-hover: #1B84E4;
  --color__text-main: #000;
  --color__text-button: #ffffff;

  --color__border-button: #ccc #ccc #bbb;
  --color__border-button-hover: #ccc #bbb #aaa;
  --color__border-button-focus: #aaa #bbb #bbb;
  --color__border-input: #ccc;
  --color__border-abbr: #666;
  */
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
}
a:hover, a:focus, a:active {
  color: #1B84E4;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit],
.main-button {
  border: 1px solid;
  color: var(--color__button__text);
  border-color: #ccc #ccc #bbb;
  border-radius: var(--border-radius);
  background: var(--color__primary);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover,
.main-button:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus,
.main-button:active,
.main-button:focus {
  border-color: #aaa #bbb #bbb;
}

.mini-cart-wrap .woocommerce-mini-cart__buttons a.button,
.single_add_to_cart_button, .comment-form input[type=submit],
.sidebar-open-btn,
.treesal-add-to-cart-icon, .wc-block-components-button,
.wc-forward {
  padding: 10px !important;
  display: flex;
  text-align: center !important;
  border-radius: var(--border-radius) !important;
  font-size: 14px !important;
  color: var(--color__button__text) !important;
  background: var(--color__primary);
  width: 200px !important;
  max-width: 100% !important;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  gap: 5px;
  height: 40px;
}

.mini-cart-wrap .woocommerce-mini-cart__buttons a.button,
.single_add_to_cart_button, .comment-form input[type=submit],
.treesal-add-to-cart-icon, .wc-block-components-button,
.wc-forward {
  margin: auto;
}

.sidebar-open-btn {
  flex-direction: row-reverse;
}

.mini-cart-wrap .woocommerce-mini-cart__buttons a.button:hover,
.single_add_to_cart_button:hover, .comment-form input[type=submit]:hover,
.sidebar-open-btn:hover,
.treesal-add-to-cart-icon:hover, .wc-block-components-button,
.wc-forward:hover {
  background: color-mix(in srgb, var(--color__primary), white 20%) !important;
}

.wc-block-cart .wc-block-cart__submit-container {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-block-cart .wc-block-cart__submit-container .wc-block-components-button:hover {
  color: var(--color__button__text) !important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):focus {
  outline: none !important;
  color: var(--color__button__text);
  box-shadow: none !important;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/* heading
--------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  padding: 0;
  margin: 0;
}

/* paragraph
--------------------------------------------- */
p {
  padding: 0;
  margin: 0;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-right: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: right;
  position: absolute;
  top: 100%;
  right: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  right: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  right: auto;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  right: auto;
}
.main-navigation li {
  position: relative;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.post,
.page {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}

.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
  overflow-x: auto;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.pb-feedback-slider__viewport {
  overflow: hidden;
}

.pb-feedback-slider__nav {
  box-shadow: none;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-right: auto;
  margin-left: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/* Search Form
--------------------------------------------- */
.custom-search-form {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.custom-search-form input {
  border: 1px solid transparent;
  outline: none;
  background-color: #f4f6f8;
  padding: 0.4em 1em;
  border-radius: var(--border-radius);
  font-size: 1em;
  font-weight: 700;
  color: black;
  width: 100%;
  max-width: 480px;
  transition: border 0.3s ease-in-out;
}

.custom-search-form input:not(:placeholder-shown) {
  border: 1px solid var(--color__primary);
}

.custom-search-form input::placeholder {
  color: rgb(99, 115, 129);
}

.custom-search-form .custom-search-form-search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-end: 16px;
}

.custom-search-form input:not(:placeholder-shown) ~ .custom-search-form-search-icon {
  display: none;
}

/* Search list Style */
.custom-search-form-list-con {
  position: absolute;
  color: var(--color__primary);
  top: calc(100% + 16px);
  inset-inline-start: 0;
  width: 100%;
  height: fit-content;
  opacity: 0;
  z-index: 19999;
  background-color: white;
  padding: 15px 18px;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  overflow: hidden;
}

.custom-search-form-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 24px;
}

.custom-search-form-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
}

.custom-search-form-list .custom-search-form-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.custom-search-form-list .custom-search-form-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
}

.custom-search-form-list .custom-search-form-list-item .custom-search-form-list-item-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.custom-search-form-list .custom-search-form-list-item .custom-search-form-list-item-content .custom-search-form-list-item-img {
  width: 60px;
  height: 60px;
}

.custom-search-form-list .custom-search-form-list-item .custom-search-form-list-item-content .custom-search-form-list-item-img img {
  width: 100%;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.custom-search-form-list-item-info .custom-search-form-list-item-title a,
.custom-search-form-list-item-info .custom-search-form-list-item-price {
  font-weight: 500;
}

#search-overlay {
  display: none;
  width: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.3333333333);
  height: 100vh;
  z-index: 12;
}

/* Header
--------------------------------------------- */
/* Ecommerce Header Style */
/* Main Header Style */
/* Start */
.ecommerce-header .ecommerce-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ecommerce-header .ecommerce-header-main {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.ecommerce-header .ecommerce-header-main .ecommerce-header-logo .logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecommerce-header .ecommerce-header-main .ecommerce-header-logo .logo-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 992px) {
  .ecommerce-header .ecommerce-custom-container {
    max-width: 960px;
  }
}
@media (max-width: 768px) {
  .ecommerce-header .ecommerce-custom-container {
    max-width: 720px;
    padding-left: 0px;
    padding-right: 0px;
  }
}
@media (max-width: 576px) {
  .ecommerce-header .ecommerce-custom-container {
    max-width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }
}
.ecommerce-header .ecommerce-header-main .ecommerce-header-logo .ecommerce-header-logo-cart-icon,
.ecommerce-header .ecommerce-header-main .ecommerce-header-logo .ecommerce-header-logo-humburger-icon {
  display: none;
}

.ecommerce-header .ecommerce-header-main .ecommerce-header-cart {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.custom-search-form-search-icon {
  color: black;
}

.ecommerce-header .ecommerce-header-main .ecommerce-header-cart .ecommerce-cart-icon,
.wishlist-toggle-icon {
  background-color: var(--color__header-icon-bg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  position: relative;
}

.ecommerce-header .ecommerce-header-main .ecommerce-header-cart .ecommerce-cart-icon:hover {
  transform: scale(1.1);
}

.ecommerce-cart-icon-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  border-radius: 50%;
  color: white;
  width: 22px;
  height: 22px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecommerce-cart-info ul li {
  font-weight: bold;
}

/* Responsivity */
@media screen and (max-width: 970px) {
  .ecommerce-header .ecommerce-custom-container {
    padding: 0;
  }
  .ecommerce-header .ecommerce-header-main {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
  }
  .mobile-search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--color__primary);
    padding: 13px 9px;
  }
  .mobile-search-container svg:not(.custom-search-form-search-icon) {
    stroke: var(--text-above-primary);
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*margin-bottom: 24px;*/
    width: 100%;
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-logo .logo-img {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-logo .ecommerce-header-logo-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-logo .ecommerce-header-logo-cart-icon,
  .ecommerce-header .ecommerce-header-main .ecommerce-header-logo .ecommerce-header-logo-humburger-icon,
  .wishlist-toggle-icon {
    background-color: var(--color__header-icon-bg);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    position: relative;
  }
  /* Mobile back button - default hidden except on mobile */
  .mobile-back-button {
    display: none;
  }
  .ecommerce-header-logo .ecommerce-header-logo-humburger-icon rect {
    fill: var(--color__header-text) !important;
  }
  .ecommerce-header-logo-cart-icon-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: red;
    border-radius: 50%;
    color: white;
    width: 20px;
    height: 20px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-logo .ecommerce-header-logo-cart-icon:hover,
  .ecommerce-header .ecommerce-header-main .ecommerce-header-logo .ecommerce-header-logo-humburger-icon:hover {
    transform: scale(1.1);
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-search {
    max-width: 100%;
    margin-bottom: 16px;
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-cart {
    display: none;
  }
  .ecommerce-header .ecommerce-header-main .ecommerce-header-search input {
    max-width: 100%;
    padding: 12px;
    border-radius: 8px;
  }
}
/* End */
/* ecommerce header categories list */
/* start */
.ecommerce-header .ecommerce-header-categories {
  background-color: var(--color__primary);
  position: relative;
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-close-icon {
  display: none;
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 16px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 16px !important;
  padding-left: 16px !important;
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-cateogry {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-cateogry > i {
  color: var(--text-above-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  inset-inline-end: 0;
  transform: translateY(-50%);
  z-index: 9999;
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry .ecommerce-header-category-link {
  display: inline-block;
  font-weight: 500;
  color: var(--text-above-primary);
  height: 100%;
  width: 100%;
  position: relative;
  width: 100%;
}

.ecommerce-header .custom-menu .ecommerce-header-cateogry .ecommerce-header-category-link:hover {
  color: var(--color__primary);
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry .ecommerce-header-category-link:has(~ i) {
  padding-inline-end: 28px;
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry .ecommerce-header-category-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline-start: 0;
  height: 1.5px;
  width: 0;
  transform-origin: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  background-color: white;
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry .ecommerce-header-category-link:hover::after {
  width: 100%;
}

.ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry .ecommerce-header-category-link.active::after {
  width: 100%;
}

/* Responsivity */
@media screen and (max-width: 970px) {
  .ecommerce-header {
    position: sticky;
    top: 0px;
    z-index: 12;
  }
  .ecommerce-header .ecommerce-header-categories {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.055) !important;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    visibility: hidden;
    z-index: 9999;
  }
  .ecommerce-header .ecommerce-header-categories.show {
    visibility: visible;
    opacity: 1;
  }
  .ecommerce-header .ecommerce-header-categories.show .ecommerce-header-close-icon {
    display: block;
    top: 0;
    inset-inline-start: 0;
    z-index: 9999;
    background-color: var(--color__header-icon-bg);
    border-radius: 50px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    left: unset;
    right: 0;
  }
  /* Removed empty ruleset to satisfy linter */
  .ecommerce-header .ecommerce-header-categories .ecommerce-custom-container {
    padding: 0;
  }
  .ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    background-color: var(--color__primary);
    max-width: 270px;
    min-height: 100vh;
    padding-top: 20px;
    padding-bottom: 20px;
    /*transform: translateX(-100%);*/
    opacity: 0;
    transition: right 0.4s ease-in-out, opacity 0.4s ease-in-out;
    gap: 24px;
    position: absolute;
    right: -270px;
  }
  .ecommerce-header .ecommerce-header-categories.show .ecommerce-header-categories-list {
    right: 0;
    opacity: 1;
  }
  .ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry {
    padding: 0;
    flex-direction: column;
  }
  .ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry i {
    inset-inline-end: 18px;
    top: 0;
    transform: none;
  }
  .ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry .ecommerce-header-category-link,
  .ecommerce-header .ecommerce-header-categories .ecommerce-header-categories-list .ecommerce-header-cateogry {
    width: 100%;
  }
  .ecommerce-header-categories-list > li > ul {
    padding: 0 4px 0 0;
  }
  .ecommerce-header-categories-list > li > ul > li ul {
    padding: 0 8px 8px 0 !important;
  }
}
/* End */
.mobile-search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

@media (min-width: 1000px) {
  .mobile-search-container {
    width: 40% !important;
  }
}
.mobile-search-container .custom-search-form {
  flex: 1;
  transition: all 0.3s ease;
}

.mobile-search-container .ecommerce-header-logo-humburger-icon,
.mobile-search-container .ecommerce-header-logo-cart-icon,
.mobile-search-container .mobile-back-button {
  width: 0;
  height: 36px;
  background-color: var(--color__primary-light);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  position: absolute;
  display: flex;
  flex-shrink: 0;
  /* Hidden by default - positioned absolutely so they don't take space */
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  will-change: transform, opacity, width;
  /* Smooth transitions - using GPU acceleration */
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease, position 0s 0.3s;
  contain: layout;
}

.mobile-search-container .ecommerce-header-logo-humburger-icon {
  right: 10px;
}

.mobile-search-container .ecommerce-header-logo-cart-icon {
  left: 10px;
}

.mobile-search-container.scrolled {
  padding: 12px 6px;
}

.searchrelativesticky {
  position: sticky !important;
  top: 63px;
  z-index: 15;
}

.mobile-search-container.scrolled .ecommerce-header-logo-humburger-icon,
.mobile-search-container .ecommerce-header-logo-cart-icon,
.mobile-search-container.scrolled .mobile-back-button {
  width: 36px;
  height: 36px;
  position: relative;
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  right: auto;
  left: auto;
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.logo-img {
  transition: 0.3s;
}

.desktop-only {
  display: block;
}

.mobile-only, .mobile-search-container .ecommerce-header-logo-cart-icon {
  display: none;
}

@media (max-width: 970px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
    top: 0 !important;
  }
  .mobile-search-container .ecommerce-header-logo-cart-icon {
    display: flex;
  }
  .mobile-back-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color__header-icon-bg);
    color: #111;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
  }
  .mobile-back-button.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-back-button:hover {
    transform: scale(1.05);
  }
  .mobile-search-container .mobile-back-button {
    position: absolute;
    right: 60px;
    z-index: 2;
    background-color: var(--color__primary-light);
    color: white;
  }
  .mobile-search-container.scrolled .mobile-back-button {
    position: relative;
    right: auto;
  }
}
.desktop-only .account-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #ccc;
  height: 40px;
  padding: 5px;
  border-radius: 50px;
}

.mobile-only .account-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #ccc;
  height: 36px;
  padding: 10px;
  border-radius: 50px;
}

.site-header-notices {
  width: 100%;
  background: var(--color__primary);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-above-primary);
}

.site-header-notices p {
  color: var(--text-above-primary);
}

.loader {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0);
  border-top-color: var(--color__button__text);
  border-bottom-color: var(--color__button__text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Menu
--------------------------------------------- */
.sub-custom-menu-activator:hover ~ .sub-custom-menu,
.sub-custom-menu:hover,
.custom-menu-activator:hover ~ .custom-menu,
custom-menu:hover,
.custom-menu:has(.sub-custom-menu-activator:hover ~ .sub-custom-menu,
.sub-custom-menu:hover,
li:hover,
a:hover,
> li:hover) {
  opacity: 1;
  transform: scaleY(1);
  height: fit-content;
}

.custom-menu,
.sub-custom-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 100%;
  width: 100%;
  min-width: 170px;
  background-color: var(--color__primary);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transform: scaleY(0);
  padding: 0px 0;
  transform-origin: top;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 999;
  height: 0;
}

.custom-menu {
  inset-inline-start: 0;
}

.sub-custom-menu {
  top: 0;
}

.custom-menu li,
.sub-custom-menu li {
  position: relative;
  background-color: var(--color__primary);
}

.custom-menu li a,
.sub-custom-menu li a {
  display: inline-block;
  color: var(--text-above-primary);
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
  width: 100%;
  position: relative;
}

.custom-menu li a:hover,
.sub-custom-menu li a:hover {
  background-color: var(--text-above-primary);
  color: var(--color__primary);
}

@media screen and (max-width: 970px) {
  .sub-custom-menu-activator:hover ~ .sub-custom-menu,
  .sub-custom-menu:hover,
  .custom-menu-activator:hover ~ .custom-menu,
  custom-menu:hover,
  .custom-menu:has(.sub-custom-menu-activator:hover ~ .sub-custom-menu,
  .sub-custom-menu:hover,
  li:hover,
  a:hover,
  > li:hover),
  .custom-menu:hover .sub-custom-menu {
    opacity: 1;
    transform: scaleY(1);
    height: fit-content;
    padding-inline-start: 0px;
    margin-top: 12px;
  }
  .custom-menu,
  .sub-custom-menu {
    position: relative;
    top: unset;
    inset-inline-start: unset;
    border-radius: none;
    box-shadow: none;
    background-color: var(--primary-color);
  }
  .custom-menu li,
  .sub-custom-menu li {
    background-color: var(--primary-color);
  }
  .custom-menu li a,
  .sub-custom-menu li a {
    background-color: var(--primary-color);
    color: var(--text-above-primary);
  }
}
/* Sidebar
--------------------------------------------- */
/* Outer container for the sidebar, creating the overlay */
.cart-sidebar-con {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 99999;
}

/* Class to show the overlay when the sidebar is open */
.cart-sidebar-con.open {
  visibility: visible;
  opacity: 1;
}

/* The actual sidebar panel */
.cart-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 320px; /* Max width for larger screens */
  background-color: white;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
  transform: translateX(100%); /* Start off-screen to the right */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* Class to slide the sidebar into view */
.cart-sidebar-con.open .cart-sidebar {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px !important;
  border-bottom: 1px solid #e5e7eb;
  height: 70px;
}

.cart-header #close-cart-btn {
  padding: 0 !important;
}

.cart-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.close-cart-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #6b7280; /* Gray X button */
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-cart-btn:hover {
  color: #1f2937; /* Darker gray on hover */
}

.mini-cart-wrap {
  position: relative;
  height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.mini-cart-wrap ul.cart_list {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  padding: 1rem !important;
  overflow: auto;
  height: 100%;
}

.mini-cart-wrap .mini-cart-footer {
  border-top: 0;
  padding-top: 10px;
  width: -webkit-fill-available;
  padding: 10px 1rem !important;
  box-sizing: border-box;
  max-width: 100%;
  background: #f0f0f0;
  border-radius: var(--border-radius);
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: normal;
  justify-content: center;
}

.woocommerce-mini-cart__buttons.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.mini-cart-wrap .woocommerce-mini-cart__buttons a.button {
  display: inline-block;
  width: 100% !important;
  text-align: center;
  padding: 16px 0;
  margin: 2px 1%;
  border-radius: var(--border-radius);
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  background: var(--color__primary) !important;
  transition: background 0.3s;
}

/* Pagination
--------------------------------------------- */
/*
 * Custom CSS for Stylish WordPress Pagination
 * This CSS file provides a clean, modern, and responsive design for WordPress pagination.
 *
 * To use:
 * 1. Copy the entire code block below.
 * 2. Paste it into your theme's `style.css` file, a custom CSS plugin, or the WordPress Customizer.
 * 3. Make sure your theme's pagination container has a class like `.pagination` or similar for these styles to apply correctly.
 */
/* --- Pagination Container --- */
.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  font-family: "Inter", sans-serif;
  margin-bottom: 70px;
}

/* --- Pagination List Items --- */
.woocommerce-pagination ul li {
  list-style: none;
  margin: 0 5px;
}

/* --- Pagination Links (Numbers & Arrows) --- */
.woocommerce-pagination a,
.woocommerce-pagination span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 8px; /* Rounded corners for the buttons */
  text-decoration: none;
  color: #333;
  background-color: #f0f0f0;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- Hover and Focus Effects --- */
.woocommerce-pagination a:hover,
.woocommerce-pagination a:focus {
  background-color: #e0e0e0;
  color: var(--color__primary); /* A nice highlight color */
  transform: translateY(-2px); /* A subtle lift effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* --- Current Page Style --- */
.woocommerce-pagination .current {
  background-color: var(--color__primary); /* Highlight the active page */
  color: #ffffff; /* White text on active page */
  font-weight: 600;
  border: 2px solid var(--color__primary);
  transform: scale(1.05); /* Slightly larger for emphasis */
}

/* --- Disabled (ellipsis) or Span elements --- */
.woocommerce-pagination .dots,
.woocommerce-pagination span {
  color: #999;
  cursor: default;
  background-color: transparent;
  box-shadow: none;
}

.woocommerce-pagination span.page-numbers.prev,
.woocommerce-pagination span.page-numbers.next {
  visibility: hidden;
}

/* --- Specific Link Styles for 'Previous' and 'Next' --- */
.woocommerce-pagination a.prev,
.woocommerce-pagination a.next {
  background-color: #fff;
  color: var(--color__primary);
}

.woocommerce-pagination a.prev:hover,
.woocommerce-pagination a.next:hover {
  background-color: #e6f2ff;
  color: var(--color__primary);
  transform: translateY(-2px);
}

/* filter
--------------------------------------------- */
.ecommerce-filter-con {
  width: 350px;
  max-width: 100%;
  max-width: 285px;
  border-radius: var(--border-radius);
  padding: 16px;
  border: 1px solid #F4F6F8;
}

.filter-sidebar .ecommerce-filter-con {
  border: none;
  padding: 0;
  max-width: 100%;
  min-width: 100%;
  margin-top: 32px;
}

@media screen and (max-width: 990px) {
  .ecommerce-filter-con {
    min-width: 100%;
  }
}
.ecommerce-filter-con .filter-unit .filter-unit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: margin 0.2s ease;
  cursor: pointer;
}

.ecommerce-filter-con .filter-unit.open .filter-unit-header {
  margin-bottom: 5px;
}

.ecommerce-filter-con .filter-unit .filter-unit-header i {
  transform: rotate(0);
  color: black;
}

.ecommerce-filter-con .filter-unit.open .filter-unit-header i {
  transform: rotate(-180deg);
  color: var(--color__primary);
  transition: all 0.2s;
}

.ecommerce-filter-con .filter-unit .filter-unit-items {
  display: flex;
  flex-direction: column;
  gap: 19px;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  height: 0;
  transition: transform 0.2s ease, opacity 0.3s ease, height 0.3s ease;
  overflow: hidden;
}

.ecommerce-filter-con .filter-unit.open .filter-unit-items {
  transform: scaleY(1);
  height: fit-content;
  opacity: 1;
}

.ecommerce-filter-con .filter-unit .filter-unit-items .filter-unit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ecommerce-filter-con .filter-unit .filter-unit-items .filter-unit-item .filter-unit-item-input {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  position: relative;
  padding-inline-start: 24px;
}

.ecommerce-filter-con .filter-unit .filter-unit-items .filter-unit-item .filter-unit-item-input input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  cursor: pointer;
}

.ecommerce-filter-con .filter-unit .filter-unit-items .filter-unit-item .filter-unit-item-input .checkmark {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 0;
  height: 18px;
  width: 18px;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  transition: border-color 0.1s ease-in-out;
  cursor: pointer;
}

.ecommerce-filter-con .filter-unit .filter-unit-items .filter-unit-item .filter-unit-item-input .checkmark:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  width: 11px;
  height: 11px;
  transform: translate(50%, -50%) scale(0);
  transform-origin: center;
  border-radius: 50%;
  transition: transform 0.1s ease-in-out;
}

.ecommerce-filter-con .filter-unit .filter-unit-items .filter-unit-item .filter-unit-item-input input:checked ~ .checkmark:after {
  transform: translate(50%, -50%) scale(1);
  background-color: var(--color__primary);
}

.ecommerce-filter-con .filter-unit .filter-unit-items .filter-unit-item .filter-unit-item-input input:checked ~ .checkmark {
  border-color: var(--color__primary);
}

.ecommerce-filter-con .filter-units-divider {
  background-color: #f4f6f8;
  height: 1px;
  width: 100%;
  margin: 16px 0;
}

.ecommerce-filter-con .filter-unit-search {
  margin-bottom: 10px;
}

.ecommerce-filter-con .filter-unit-search .filter-search-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #E6E8EA;
  border-radius: 8px;
}

/*new*/
.ecommerce-filter-con .filter-unit .filter-unit-items {
  transform: scaleY(0);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.3s ease, height 0.3s ease;
}

.ecommerce-filter-con .filter-unit.open .filter-unit-items {
  transform: scaleY(1);
  height: fit-content;
  opacity: 1;
}

/* Outer container for the sidebar, creating the overlay */
.filter-sidebar-con {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 99999;
}

/* Class to show the overlay when the sidebar is open */
.filter-sidebar-con.open {
  visibility: visible;
  opacity: 1;
}

/* The actual sidebar panel */
.filter-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 320px; /* Max width for larger screens */
  background-color: white;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
  transform: translateX(100%); /* Start off-screen to the right */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

/* Class to slide the sidebar into view */
.filter-sidebar-con.open .filter-sidebar {
  transform: translateX(0);
}

.filter-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 990px) {
  .filter-header {
    display: flex;
  }
}
.filter-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.close-filter-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #6b7280; /* Gray X button */
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-filter-btn:hover {
  color: #1f2937; /* Darker gray on hover */
}

/*additional code*/
/* Hide the checkbox */
#sidebar-toggle {
  display: none;
}

/* Default: inline filter (desktop) */
.filter-wrapper {
  background: #fff;
  padding: 15px;
}

.filter-wrapper::-webkit-scrollbar {
  display: none;
}

/* Desktop: hide sidebar toggle UI */
@media (min-width: 990px) {
  .sidebar-overlay,
  .sidebar-open-btn {
    display: none;
  }
  .filter-wrapper {
    position: sticky;
    top: 80px;
    width: 290px;
    flex: 0 0 290px;
    height: auto;
    background: #fff;
    color: #000;
    box-shadow: none;
  }
}
/* Mobile (transform into sidebar) */
@media (max-width: 990px) {
  .ecommerce-filter-con {
    width: 350px;
    max-width: 100%;
    max-width: 285px;
    border-radius: var(--border-radius);
    padding: 16px 0;
    border: none;
  }
  .filter-wrapper {
    position: fixed;
    top: 0;
    left: -340px;
    width: 340px;
    height: 100%;
    background: #fff;
    color: black;
    padding: 20px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }
  /* Overlay */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1000;
    cursor: pointer;
  }
  /* Show sidebar & overlay when checked */
  #sidebar-toggle:checked ~ .filter-wrapper {
    left: 0;
  }
  #sidebar-toggle:checked ~ .sidebar-overlay {
    display: block;
  }
}
.sort-options,
.sort-options label,
.sort-options select {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

/* Scoped desktop styles */
.shop-filter-sidebar {
  /* Remove legacy dividers inside this scoped sidebar */
}
.shop-filter-sidebar .filter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
  padding: 8px 4px;
  border-bottom: 1px solid #F0F2F4;
}
.shop-filter-sidebar .filter-actions .filter-title {
  font-weight: 700;
  color: #111;
  font-size: 16px;
}
.shop-filter-sidebar .filters-clear-all {
  border: none;
  background: none;
  color: #65707a;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.shop-filter-sidebar .filter-unit {
  border-bottom: 1px solid #F0F2F4;
  padding: 8px 0;
}
.shop-filter-sidebar .filter-unit:not(.open) {
  padding-bottom: 4px;
}
.shop-filter-sidebar .filter-unit:last-child {
  border-bottom: none;
}
.shop-filter-sidebar .filter-unit-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
}
.shop-filter-sidebar .filter-unit-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.shop-filter-sidebar .filter-unit-header i {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
}
.shop-filter-sidebar .filter-unit-header svg {
  width: 18px;
  height: 18px;
}
.shop-filter-sidebar .filter-unit-search {
  position: relative;
  margin: 10px 0 6px;
  display: block;
}
.shop-filter-sidebar .filter-unit-search .filter-search-input {
  width: 100%;
  padding: 5px 36px 5px 38px;
  border: 1px solid #E6E8EA;
  border-radius: 8px;
  background: #F8F9FA;
  color: #111;
  font-size: 13px;
}
.shop-filter-sidebar .filter-unit-search .filter-search-input::placeholder {
  color: #9aa0a6;
}
.shop-filter-sidebar .filter-unit-search::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%239aa0a6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.3-4.3"/></svg>') no-repeat center/14px 14px;
  pointer-events: none;
}
.shop-filter-sidebar .filter-unit-search .filter-search-clear {
  position: absolute;
  inset-inline-end: 8px;
  top: 43%;
  transform: translateY(-50%);
  border: unset;
  background: unset;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 18px;
  color: #9aa0a6;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shop-filter-sidebar .filter-unit:not(.open) .filter-unit-search {
  display: none;
}
.shop-filter-sidebar .filter-list-scroll { /*max-height: 260px;*/
  overflow: auto;
}
.shop-filter-sidebar .shop-filter-no-results {
  padding: 8px 2px 4px;
  color: #8a8f98;
  font-size: 12px;
  text-align: start;
}
.shop-filter-sidebar .filter-units-divider {
  display: none;
}

.filter-chips-bar {
  display: none;
}

/* Ensure the mobile bottom sheet never appears on desktop */
@media (min-width: 991px) {
  .filter-bottom-sheet {
    display: none !important;
  }
}
@media (max-width: 990px) {
  .sidebar-open-btn {
    display: none !important;
  }
  .filter-chips-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0 12px;
    position: sticky;
    top: 62px;
    background: #fff;
    z-index: 10;
  }
  .filter-chip {
    border: 1px solid #F0F2F4;
    background: #fff;
    color: #111;
    border-radius: 999px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    white-space: nowrap;
  }
  .filter-chip .chip-caret {
    opacity: 0.7;
  }
  .filter-chip .chip-badge {
    background: #111;
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    padding: 2px 6px;
  }
  /* Bottom sheet */
  .filter-bottom-sheet {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 10000;
  }
  .filter-bottom-sheet.open {
    display: block;
  }
  .filter-bottom-sheet .sheet-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
  }
  .filter-bottom-sheet .sheet-panel {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    background: #fff;
    border-top-right-radius: 14px;
    border-top-left-radius: 14px;
    transform: translateY(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    z-index: 1;
  }
  .filter-bottom-sheet.open .sheet-panel {
    transform: translateY(0);
  }
  .sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #F0F2F4;
  }
  .sheet-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
  }
  .sheet-close, .sheet-reset {
    border: none;
    background: none;
    color: #111;
    font-size: 14px;
  }
  .sheet-body {
    padding: 8px 14px;
    overflow: auto;
  }
  .sheet-search-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #E6E8EA;
    border-radius: 8px;
    margin-bottom: 10px;
  }
  .sheet-option {
    padding: 8px 2px;
  }
  .sheet-option label {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .sheet-option input[type=checkbox] {
    display: none;
  }
  .sheet-option .sheet-check {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid #D6D6D6;
    position: relative;
  }
  .sheet-option input:checked + .sheet-check::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: #111;
    border-radius: 2px;
  }
  .sheet-label {
    font-size: 14px;
  }
  .sheet-footer {
    padding: 10px 14px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
  }
  .sheet-apply {
    width: 100%;
    border: none;
    background: #111;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
  }
}
/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/* desktop */
.desktop-header-translate .trp-shortcode-switcher__wrapper {
  position: relative;
  border: none;
  margin-inline: 0 16px;
  width: 160px;
}

.desktop-header-translate .trp-current-language-item__wrapper {
  padding-left: 0;
  padding: 1px 0;
}

.desktop-header-translate .trp-shortcode-switcher {
  width: 100%;
  padding: 0;
}

.desktop-header-translate .trp-shortcode-arrow {
  margin: 0 10px;
}

@media (max-width: 970px) {
  .desktop-header-translate {
    display: none;
  }
}
/* mobile */
.mobile-header-translate .trp-language-item-name {
  display: none;
}

.mobile-header-translate .trp-current-language-item__wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mobile-header-translate .trp-language-item {
  width: 36px;
  padding: 0;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50px;
  overflow: hidden;
  transition: 0.3s;
}

.mobile-header-translate .trp-language-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.mobile-header-translate .trp-shortcode-switcher {
  background: #f4f6f8;
}

.mobile-header-translate .trp-switcher-dropdown-list a {
  opacity: 0;
  scale: 0.8;
  transition: 0.2s;
}

.mobile-header-translate .trp-shortcode-switcher.is-open .trp-switcher-dropdown-list a {
  opacity: 1;
  scale: 1;
}

.mobile-header-translate .trp-shortcode-switcher.is-open {
  gap: 10px;
  padding: 5px 0;
}

.trp-shortcode-switcher__wrapper {
  position: relative;
  border: none;
  display: flex;
}

.mobile-header-translate .trp-shortcode-arrow {
  margin: 0 10px;
  display: none;
}

.mobile-header-translate .trp-shortcode-switcher {
  padding: 0;
  width: 36px;
  min-height: 36px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  transition: 0.2s;
}

.mobile-header-translate .trp-shortcode-switcher.is-open {
  gap: 5px;
  padding: 2px 0;
}

.mobile-header-translate .trp-shortcode-switcher.is-open .trp-language-item {
  width: 30px;
  padding: 0;
  height: 100%;
  aspect-ratio: 1;
  border-radius: 50px;
  overflow: hidden;
}

@media (min-width: 970px) {
  .mobile-header-translate {
    display: none;
  }
}
.trp-shortcode-overlay {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10 !important;
}

.wishlist-icon-wrapper {
  z-index: 2 !important;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.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;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1.5em;
}

/* Pages
--------------------------------------------- */
/*
 * Custom styles for the search.php template.
 * All custom classes are prefixed with 'noqta'.
 */
/* General container styling for the search page */
.noqta-search-container {
  max-width: 1200px; /* Max width for a clean look on large screens */
  margin-right: auto;
  margin-left: auto;
  padding: 0 1rem;
}

/* Header styling for the search results page */
.noqta-search-header {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 5rem;
  padding-top: 85px;
  padding-bottom: 85px;
  position: relative;
  background-color: rgba(27, 131, 228, 0.1568627451); /* Light background for contrast */
  border-radius: var(--border-radius);
}

.noqta-search-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--color__primary);
  border-radius: var(--border-radius);
  transform: rotate(-2.2deg);
  z-index: 1;
}

.noqta-search-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50; /* A dark, professional color */
  width: 100%;
  text-align: center;
}

.noqta-search-count {
  font-size: 1.25rem;
  color: #7f8c8d; /* A subtle gray for the result count */
  margin-top: 0.5rem;
}

/* Grid layout for the product cards */
.noqta-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2.5rem;
}

/* Styling for each individual product card */
.noqta-product-card {
  background-color: #ffffff;
  transition-property: transform;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transform: none;
  overflow: hidden;
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}

.noqta-product-card:hover {
  transform: scale(1.05); /* Lift and enlarge the card on hover */
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.noqta-product-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

/* Product image container and thumbnail styling */
.noqta-product-image-thumbnail {
  width: 100%;
  height: auto;
  max-height: 230px; /* Limit height for uniformity */
  object-fit: cover;
}

/* Product title styling */
.noqta-product-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #34495e;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align: start;
  padding: 0 1rem; /* Add some padding for better readability */
}

/* Product price styling */
.noqta-product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4a5568; /* A dark gray for the price */
  margin-bottom: 1rem;
  text-align: start;
  padding: 0 1rem; /* Add some padding for better readability */
}

/* Styling for the 'no results' message */
.noqta-no-results {
  text-align: center;
  padding: 2.5rem 0;
  font-size: 1.5rem;
  color: #95a5a6;
}

.noqta-no-results p {
  font-size: 1.5rem;
  color: #4a5568;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .noqta-search-title {
    font-size: 2rem;
  }
  .noqta-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
  }
}
.custom-search-form-list-con h3 {
  font-size: 18px;
  margin: 0;
}

/*
 * This file contains custom styles for the page.php template.
 */
/* Page Container Styles */
/* Page Header and Title Styles */
.page-header {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  padding-top: 85px;
  padding-bottom: 85px;
  position: relative;
  background-color: rgba(27, 131, 228, 0.1568627451); /* Light background for contrast */
  border-radius: var(--border-radius);
}

.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--color__primary);
  border-radius: var(--border-radius);
  transform: rotate(-2.2deg);
  z-index: 1;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827; /* Gray-900 */
  line-height: 1.25;
}

/* Page Content Styles */
p {
  /*margin-bottom: 1.5rem;*/
}

h2,
h3,
h4,
h5,
h6 {
  /*margin-top: 2rem;*/
  /*margin-bottom: 1rem;*/
  color: #000; /* Gray-900 */
  line-height: 1.25;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

/* Placeholder for when no content is found */
.no-content-message {
  text-align: center;
  color: #6b7280; /* Gray-500 */
  font-size: 1.125rem;
}

.page-content .wp-block-woocommerce-cart,
.homepage {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 2rem auto;
  margin-top: 0;
  padding: 1rem;
  gap: 2rem;
}

.blog-container,
.single-container {
  max-width: 1200px;
  padding: 14px;
  margin: 20px auto;
}

/* --- Card Grid --- */
.blog-container .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* --- Card Style --- */
.blog-container .post-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-container .post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Thumbnail */
.blog-container .post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card content */
.blog-container .post-card-content {
  padding: 20px;
}

.blog-container .post-card-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.blog-container .post-card-title a {
  color: #333;
  text-decoration: none;
}

.blog-container .post-card-title a:hover {
  color: var(--color__primary);
}

.blog-container .post-card-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

.blog-container .post-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
}

/* Button */
.blog-container .post-card-readmore {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 15px;
  background: var(--color__primary);
  color: var(--text-above-primary);
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}

.blog-container .post-card-readmore:hover {
  background: var(--color__primary);
  color: var(--text-above-primary);
}

/* for single */
.single-container .single-post-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  margin-bottom: 40px;
}

.single-container .single-post-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.single-container .single-post-title {
  font-size: 32px;
  margin-bottom: 15px;
}

.single-container .single-post-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.single-container .single-post-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

/* Prev/Next buttons */
.single-container .single-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.single-container .single-nav a {
  background: var(--color__primary);
  padding: 10px 15px;
  color: var(--text-above-primary);
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.single-container .single-nav a:hover {
  background: var(--color__primary);
  color: var(--text-above-primary);
}

/**
 * Custom styles for the WooCommerce shop page.
 * This file should be enqueued in your theme's functions.php.
 */
/* ==========================================================
  Base Styles & Layout
========================================================== */
.shop-container {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  margin-top: 0;
  padding: 1rem;
  gap: 2rem;
}

@media screen and (max-width: 990px) {
  .shop-container {
    flex-direction: column;
  }
}
.sidebar-filters {
  width: 290px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-content {
  flex-grow: 1;
}

/* ==========================================================
   Filter & Sort Elements
   ========================================================== */
.sort-options-con {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  gap: 12px;
}

.sort-options {
  display: flex;
  max-width: fit-content;
  width: 100%;
  padding: 10px;
  border-radius: var(--border-radius);
  position: relative;
  border: 1px solid #F4F6F8;
}

.sort-options select {
  border: none;
  outline: none;
  background: transparent;
  position: relative;
  color: black;
  font-size: 14px;
  max-width: 125px;
}

.sort-options label {
  color: black;
  font-size: 14px;
}

.sort-options label::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  width: 2px;
  top: 0;
  bottom: 0;
  background-color: white;
}

/* ==========================================================
  Product Grid
========================================================== */
.product-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  transition: opacity 0.3s ease;
}

/* Loading state when filters are applying */
.product-grid-container.filtering {
  position: relative;
  opacity: 0.45;
  pointer-events: none;
}

.product-grid-container.filtering::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
}

.product-grid-container.filtering::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 50%;
  width: 34px;
  height: 34px;
  border: 3px solid #e5e7eb;
  border-top-color: #111;
  border-radius: 50%;
  animation: shop-grid-spinner 0.8s linear infinite;
  transform: translate(50%, -50%);
  z-index: 1;
}

@keyframes shop-grid-spinner {
  to {
    transform: translate(50%, -50%) rotate(-360deg);
  }
}
@media (max-width: 768px) {
  .product-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
}
.product-grid-container.loading {
  opacity: 0.5;
  pointer-events: none;
}

.product-grid-container:has(.no-results), .product-grid-container:has(.no-products-found-message) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 400px;
}

.woocommerce ul.products li.product {
  background-color: #fff;
  padding: 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.woocommerce ul.products li.product .price {
  font-size: 1.25rem;
  color: #007bff;
  font-weight: 700;
}

/* ==========================================================
  Load More Button
========================================================== */
.load-more-container {
  text-align: center;
  margin-top: 2rem;
}

.no-products-found-message {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  font-size: 1.2rem;
  font-weight: bold;
  width: 100%;
}

.subcategory-items {
  padding-inline-start: 20px;
  display: flex;
  gap: 16px;
  flex-direction: column;
}

#load-more-btn {
  border: none;
  outline: none;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}

.product-categories-grid li {
  list-style: none;
  background-color: white;
  text-align: center;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  padding: 1px;
}

.product-categories-grid li:hover {
  transform: scale(1.03);
  background-color: white;
  border-width: 1px;
}

.product-categories-grid li a {
  text-align: center;
}

.product-categories-grid li a img {
  min-width: 80px;
  height: auto;
  object-fit: cover;
  border: 1px solid #F4F6F8;
  border-radius: var(--border-radius);
}

.product-categories-grid li a h2 {
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.795);
  text-align: center;
}

.product-categories-grid li a h2 .count {
  display: none;
}

#open-filter-btn {
  border: none;
  outline: none;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 6px;
}

#open-filter-btn svg {
  color: white;
}

@media screen and (max-width: 970px) {
  .product-categories-grid li a h2 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.795);
    text-align: center;
  }
  .product-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }
  .shop-filter-side {
    display: none;
  }
  #open-filter-btn {
    display: flex;
  }
  .sort-options {
    border: none;
    background-color: #F4F6F8;
  }
  .sort-options-con {
    justify-content: space-between;
  }
}
.load-more-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product div.product {
  display: grid;
  max-width: 1200px;
  margin: 2rem auto;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "gallery summary" "onsale onsale" "description description" "related related";
}

.woobt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.woobt-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.single-product div.product .woocommerce-product-gallery .onsale {
  grid-area: onsale;
}

.single-product div.product .woocommerce-product-gallery {
  grid-area: gallery;
}

.single-product div.product .entry-summary {
  grid-area: summary;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper {
  grid-area: description;
}

.single-product div.product .related.products {
  grid-area: related;
}

@media screen and (max-width: 990px) {
  .single-product div.product {
    grid-template-columns: 1fr;
    grid-template-areas: "gallery gallery" "summary summary" "onsale onsale" "description description" "related related" !important;
    padding: 16px;
    gap: 16px 0;
  }
  .woobt-wrap.woobt-layout-compact .woobt-inner .woobt-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 !important;
  }
}
.single-product div.product .onsale {
  background-color: green;
  color: white;
  padding: 12px;
  text-align: center;
  width: 100%;
  display: none;
}

.single-product div.product .woocommerce-product-gallery {
  overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: 430px;
  object-fit: contain;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  width: fit-content !important;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border: 1px solid #000;
  border-radius: var(--border-radius);
}

.single-product div.product .entry-summary h1.product_title {
  color: black;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 28px;
  line-height: 40.8px;
}

@media (max-width: 767px) {
  .single-product div.product .entry-summary h1.product_title {
    font-size: 20px;
    line-height: 1.2;
  }
}
.single-product div.product .entry-summary .price ins {
  background-color: white;
  color: var(--color__primary);
  font-weight: bold;
  margin: 0 12px;
  font-size: 27.7px;
}

.single-product div.product .entry-summary .price del {
  text-decoration: none;
  position: relative;
  font-size: 16.7px;
}

.single-product div.product .entry-summary .price del::after {
  content: "";
  position: absolute;
  top: 43%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgb(55, 60, 65);
  transform: translateY(50%);
}

.single-product div.product .entry-summary .woocommerce-product-details__short-description p {
  /*font-size: 1.3em;*/
  margin-top: 24px;
  font-weight: normal;
  margin-bottom: 24px;
}

.single-product div.product .entry-summary form.cart {
  display: flex;
  align-items: stretch;
  justify-content: start;
  gap: 10px;
  width: 100%;
}

.single-product div.product .entry-summary form.cart .quantity {
  display: flex;
  background-color: #cecece;
  border-radius: var(--border-radius);
}

.single-product div.product .entry-summary form.cart .quantity input {
  background-color: transparent;
  border: none;
  outline: none;
  max-width: 50px;
  text-align: center;
  color: black;
}

.single-product div.product .entry-summary form.cart .quantity button {
  border: none;
  outline: none;
  background-color: transparent;
  color: black;
  font-size: 1.4rem;
  width: 90px;
  cursor: pointer;
}

.single-product div.product .entry-summary form.cart button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: none;
  outline: none;
  border-radius: var(--border-radius);
  flex-grow: 1;
  font-weight: bold;
}

.single-product div.product .entry-summary .product_meta {
  display: flex;
  justify-content: start;
  flex-direction: column;
  margin-top: 16px;
  gap: 8px;
}

.single-product div.product .entry-summary .product_meta .posted_in {
  font-weight: bold;
  color: black;
}

.single-product div.product .entry-summary .product_meta .posted_in a {
  font-weight: normal;
  font-size: 1.2rem;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper {
  padding-top: 50px;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border: 1px solid transparent;
  border-bottom: 1px solid #cecece;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul li a {
  position: relative;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 3px;
  border-radius: var(--border-radius);
  background-color: var(--color__primary);
  transform: translateY(50%);
  transition: all 0.3s ease-in-out;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul li a[aria-selected=true]::after {
  width: 100%;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul li a {
  font-size: 1.4em;
  padding: 12px 24px;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper ul li a[aria-selected=true] {
  color: var(--color__primary);
  font-weight: bold;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Reviews-title {
  color: #000;
  margin-bottom: 0;
}

.single-product div.product .woocommerce-tabs.wc-tabs-wrapper .woocommerce-noreviews {
  padding: 24px 0;
  background-color: white;
  text-align: center;
  font-size: 1rem;
}

#reviews input[type=text],
#reviews input[type=email],
#reviews textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  padding: 10px 4px;
  display: block;
  width: 100%;
  resize: none;
}

#commentform {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#commentform p, .comment-form-rating {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#commentform p.comment-form-cookies-consent {
  display: flex;
  flex-direction: row;
}

input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #6b7280;
  border-radius: var(--border-radius);
  background: #fff;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  aspect-ratio: 1;
}

input[type=checkbox]:checked {
  background: var(--color__primary) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.173 12.727L2.1 8.653l1.414-1.414 2.66 2.66 6.314-6.314 1.414 1.414z'/></svg>") no-repeat center/14px 14px;
  border: none;
}

input[type=checkbox]:focus {
  outline: none;
}

/* disabled */
input[type=checkbox]:disabled {
  background: #f3f4f6;
  border-color: #d1d5db;
  cursor: not-allowed;
}

p.stars.selected a:not(.active)::before, p.stars.selected a.active::before {
  color: #ffba37 !important;
}

.product .entry-summary .added_to_cart.wc-forward {
  display: none;
}

/*video*/
.swiper-slide.video-thumb img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
  aspect-ratio: 1;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide.video-thumb {
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 4px;
}

.play-button-overlay {
  filter: saturate(0) contrast(25);
  background: black;
  border-radius: 50px;
  width: 55px;
  height: 55px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.woocommerce-product-gallery {
  max-width: 500px;
  width: 100%;
  overflow: unset !important;
}

@media (max-width: 990px) {
  .woocommerce-product-gallery {
    max-width: 900px;
    width: 100%;
    margin: auto;
    overflow: unset !important;
  }
}
.woocommerce-product-gallery__wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 10px;
}

/*grouped product cart form*/
form.cart.grouped_form {
  flex-direction: column;
}

.woocommerce-grouped-product-list-item td {
  padding: 10px 0;
}

.grouped_form .single_add_to_cart_button {
  width: 80% !important;
}

.reset_variations[style*="visibility: hidden;"] {
  display: none;
}

.footer {
  background: var(--color__primary) !important;
  color: white !important;
  padding: 0 20px;
}

.footer a, .copyright, .social-icons .social-icon {
  color: white !important;
}

.footer .powered-by {
  color: black !important;
}

@media (max-width: 768px) {
  .footer {
    padding: 0 0px;
  }
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 0;
}

.noqta-footer-container {
  max-width: 1200px !important;
  margin: auto !important;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer.light .footer-column a {
  color: #000;
}

.footer-column a:hover {
  color: #ccc;
}

.footer-brand .logo {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 5px;
}

/* Match header logo sizing */
.footer-brand .logo .custom-logo-link {
  display: inline-block;
  width: 209px;
}

.footer-brand .logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-brand .tagline {
  font-size: 14px;
  margin-bottom: 15px;
  max-width: 600px;
}

@media (max-width: 1000px) {
  .footer-brand .tagline {
    font-size: 14px;
    margin-bottom: 15px;
    max-width: 500px;
  }
}
.social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: transform 0.3s, color 0.3s;
}

.social-icons .social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: fill 0.3s;
}

.footer.light .social-icons .social-icon {
  fill: currentColor;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.payment-icons img {
  width: 39px;
  height: auto;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 0 0 1px #eee inset;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
  .footer-links {
    justify-content: center;
    text-align: center;
  }
  .footer-brand {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .payment-icons {
    align-items: center;
    justify-content: center;
  }
  .social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
  }
}
.site-info {
  text-align: center;
  padding: 10px 0;
  background: #000;
  color: #fff;
}

.footer.light .site-info {
  background: #fff;
  color: #000;
}

.adjustable {
  transition: 0.3s ease;
}

.adjustable-white {
  filter: brightness(0) invert(1);
}

.adjustable-black {
  filter: brightness(0) invert(0);
}
