/*!
Theme Name: Kosmo SK
Theme URI: https://kosmo.sk/
Author: K&A Cosmetics
Author URI: https://kosmo.sk/
Description: Custom theme for Kosmo.sk - K&A Cosmetics e-commerce store
Version: 2.1.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kacosmetics
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, woocommerce

This theme is licensed under the GPL.
Custom theme for Kosmo.sk cosmetics store.

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;
  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;
  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
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

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

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
--------------------------------------------- */
body {
  background: #fff;
}

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

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* 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: #4169e1;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]: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 {
  border-color: #aaa #bbb #bbb;
}

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: 3px;
  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%;
}

/* Hide number input spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: 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;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

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

/* 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;
  max-width: 100px;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: 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;
}

/*--------------------------------------------------------------
# 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;
}

/*--------------------------------------------------------------
# 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;
  left: 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 {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

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

/*--------------------------------------------------------------
# Dior Style - Custom Design
--------------------------------------------------------------*/

/* Global Styles */
html {
  height: 100%;
}

body {
  background: #f8f8f8;
  margin: 0;
  padding: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#page {
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  flex: 1;
}

#page > main,
#page > #primary,
#page > .site-main {
  flex: 1;
  width: 100%;
}

.site-footer {
  margin-top: auto;
}

/* Top Black Banner */
.top-banner {
  background: #000;
  color: #fff;
  padding: 12px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.banner-content p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-align: center;
}

.banner-content a {
  color: #fff;
  text-decoration: underline;
  margin-left: 5px;
  transition: opacity 0.3s;
}

.banner-content a:hover {
  opacity: 0.7;
}

.banner-close {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.banner-close:hover {
  opacity: 0.7;
}

/* Header Styles */
.dior-style-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  z-index: 1000;
}

.header-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 40px;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #000;
  transition: opacity 0.3s;
  display: block;
}

.mobile-menu-toggle:hover {
  opacity: 0.7;
}

.site-branding {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-branding .site-title {
  margin: 0;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 3px;
}

.site-branding .site-title a {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.site-branding .site-title a:hover {
  opacity: 0.7;
}

.header-actions {
  display: flex;
  gap: 25px;
  align-items: center;
}

.search-toggle,
.cart-icon,
.account-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #000;
  transition: opacity 0.3s;
  position: relative;
}

.search-toggle:hover,
.cart-icon:hover,
.account-icon:hover {
  opacity: 0.7;
}

.cart-icon,
.account-icon {
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #000;
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  box-sizing: border-box;
}

.search-overlay.active {
  display: flex;
}

.search-overlay-container {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  text-align: center;
}

.search-overlay-close {
  position: fixed;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: #000;
  font-size: 32px;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  transition: opacity 0.3s;
  font-weight: 300;
}

.search-overlay-close:hover {
  opacity: 0.5;
}

.search-overlay-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #000;
  margin-bottom: 30px;
  font-weight: 400;
}

.search-overlay-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
  padding-bottom: 15px;
}

.search-overlay-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #000;
  font-size: 18px;
  padding: 10px 0;
  outline: none;
  font-family: inherit;
  text-align: center;
  letter-spacing: 1px;
}

.search-overlay-input::placeholder {
  color: #999;
}

.search-overlay-submit {
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s;
}

.search-overlay-submit:hover {
  opacity: 0.5;
}

body.search-open {
  overflow: hidden;
}

/* Search Autocomplete Results */
.search-result-item:hover {
  background: #f9f9f9;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #eee;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .search-overlay {
    padding-top: 80px;
  }

  .search-overlay-input {
    font-size: 16px;
  }

  .search-overlay-close {
    top: 20px;
    right: 20px;
    font-size: 28px;
  }

  .search-result-item {
    padding: 12px 0 !important;
  }

  .search-result-item > div:first-child {
    width: 50px !important;
    height: 50px !important;
  }
}

/* Mobile Menu Sidebar */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-sidebar {
  position: fixed;
  top: 0;
  left: -400px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-sidebar.active {
  left: 0;
}

.mobile-menu-header {
  padding: 20px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: flex-end;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #000;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.mobile-menu-close:hover {
  opacity: 0.7;
}

.mobile-menu-content {
  padding: 0 0 80px;
}

.mobile-menu-banner {
  padding: 30px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-banner a {
  color: #d63031;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  display: block;
  transition: opacity 0.3s;
}

.mobile-menu-banner a:hover {
  opacity: 0.7;
}

.mobile-menu-nav {
  padding: 0;
}

.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-nav > ul > li {
  border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-nav > ul > li {
  position: relative;
}

.mobile-menu-nav .has-submenu {
  display: flex;
  flex-direction: column;
}

.mobile-menu-nav .has-submenu > .menu-item-link {
  flex: 1;
}

.mobile-menu-nav a.menu-item-link {
  display: block;
  padding: 18px 20px;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s;
}

.mobile-menu-nav .has-submenu {
  display: flex;
  align-items: stretch;
}

.mobile-menu-nav .has-submenu > a {
  flex: 1;
}

.submenu-toggle {
  background: none;
  border: none;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: all 0.3s;
  border-left: 1px solid #e5e5e5;
  min-width: 52px;
}

.submenu-toggle svg {
  transition: transform 0.3s;
}

.has-submenu.submenu-open .submenu-toggle svg {
  transform: rotate(90deg);
}

.submenu-toggle:hover {
  background: #f8f8f8;
}

.mobile-menu-nav a:hover {
  background: #f8f8f8;
}

.mobile-menu-nav a svg {
  flex-shrink: 0;
}

/* Submenu styles */
.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.submenu.active {
  border-top: 1px solid #e5e5e5;
}

.submenu li {
  border-bottom: none;
}

.submenu a {
  padding: 15px 20px 15px 40px;
  font-size: 14px;
  color: #333;
  display: block;
  transition: background 0.3s;
}

.submenu a:hover {
  background: #ebebeb;
}

.mobile-menu-section {
  padding: 30px 20px;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-section h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #999;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.mobile-menu-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-section li {
  margin-bottom: 12px;
}

.mobile-menu-section li:last-child {
  margin-bottom: 0;
}

.mobile-menu-section a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.3s;
  display: block;
}

.mobile-menu-section a:hover {
  opacity: 0.7;
}

.accessibility-toggle {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.accessibility-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  color: #000;
}

.accessibility-label input[type="checkbox"] {
  display: none;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: #ccc;
  border-radius: 13px;
  transition: background 0.3s;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.accessibility-label input:checked + .toggle-switch {
  background: #000;
}

.accessibility-label input:checked + .toggle-switch::after {
  transform: translateX(22px);
}

.mobile-menu-tabs {
  position: fixed;
  bottom: 0;
  left: -400px;
  width: 400px;
  max-width: 90vw;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  display: flex;
  transition: left 0.3s ease;
  z-index: 10000;
}

.mobile-menu-tabs.active {
  left: 0;
}

.menu-tab {
  flex: 1;
  padding: 18px 15px;
  text-align: center;
  color: #000;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-right: 1px solid #e5e5e5;
  transition: all 0.3s;
  background: #fff;
}

.menu-tab:last-child {
  border-right: none;
}

.menu-tab:hover {
  background: #f8f8f8;
}

.menu-tab.active {
  background: #000;
  color: #fff;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Category Header */
.category-header {
  text-align: center;
  padding: 40px 30px;
  background: #f8f8f8;
}

.category-title {
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}

.category-description {
  font-size: 14px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .category-header {
    padding: 30px 20px;
  }

  .category-title {
    font-size: 24px;
  }
}

/* Category Tabs */
.category-tabs-wrapper {
  background: #f8f8f8;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 30px 0 0;
}

.category-tabs {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 50px;
  justify-content: center;
  border-bottom: 1px solid #e5e5e5;
}

.tab-button {
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  padding: 15px 0;
  font-size: 18px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
  position: relative;
}

.tab-button:hover,
.tab-button:visited {
  color: #000;
}

a.tab-button:visited:not(.active) {
  color: #999;
}

.tab-button.active {
  color: #000;
  font-weight: 400;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #000;
}

/* Products Container */
/*--------------------------------------------------------------
# Bestseller Slider Section
--------------------------------------------------------------*/
.bestseller-slider-section {
  background: #fff;
  padding: 60px 0;
}

.bestseller-slider-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.bestseller-slider-title {
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 40px;
  color: #000;
}

.bestseller-slider-wrapper {
  position: relative;
}

.bestseller-slider-overflow {
  overflow: hidden;
  margin: 0 -30px;
  padding: 0 30px;
}

.bestseller-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  cursor: grab;
}

.bestseller-slider:active {
  cursor: grabbing;
}

.bestseller-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: calc(33.333% - 14px);
}

.bestseller-slide .product-card {
  background: #fff;
  height: 100%;
}

.bestseller-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bestseller-nav:hover {
  background: #000;
  border-color: #000;
}

.bestseller-nav:hover svg {
  stroke: #fff;
}

.bestseller-nav-prev {
  left: -20px;
}

.bestseller-nav-next {
  right: -20px;
}

.bestseller-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1200px) {
  .bestseller-nav-prev {
    left: 10px;
  }

  .bestseller-nav-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .bestseller-slider-section {
    padding: 40px 0;
  }

  .bestseller-slider-title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .bestseller-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
  }

  .bestseller-slider {
    gap: 15px;
  }

  .bestseller-nav {
    display: none;
  }

  .bestseller-slider-overflow {
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .bestseller-slider-section {
    padding: 30px 0;
  }

  .bestseller-slider-container {
    padding: 0 15px;
  }

  .bestseller-slider-title {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .bestseller-slide {
    flex: 0 0 calc(50% - 5px);
    min-width: calc(50% - 5px);
  }

  .bestseller-slider {
    gap: 10px;
  }
}

.new-arrivals-main {
  background: #f8f8f8;
  min-height: 100vh;
  padding: 60px 0;
}

.products-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

.products-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  animation: fadeIn 0.5s ease-in;
  position: relative;
}

.products-grid.active {
  display: grid;
}

.products-grid .category-products-inner {
  display: contents;
}

.products-grid.loading {
  opacity: 0.5;
  pointer-events: none;
}

.products-grid.loading::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 100;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.products-grid .woocommerce-pagination,
.products-grid .category-pagination {
  grid-column: 1 / -1;
  margin-top: 40px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Card */
.product-card {
  background: #fff;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.badge {
  background: #fff;
  color: #000;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  font-weight: 500;
  display: inline-block;
}

.badge-new {
  background: #ff4586;
  color: #fff;
}

.badge-exclusive {
  background: #000;
  color: #fff;
}

.badge-bestseller {
  background: #ff6b6b;
  color: #fff;
}

.badge-must-try {
  background: #4ecdc4;
  color: #fff;
}

.product-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.product-title a {
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s;
}

.product-title a:hover {
  opacity: 0.7;
}

.product-price {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px;
}

.product-description {
  font-size: 13px;
  color: #888;
  margin: 0 0 10px;
  line-height: 1.4;
}

.product-button {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 30px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 20px;
}

.product-button:hover {
  background: #ff4586;
}

.product-actions {
  position: absolute;
  bottom: 15px;
  right: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.product-icon-button {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-icon-button:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.product-icon-button svg {
  width: 16px;
  height: 16px;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-products {
  text-align: center;
  padding: 60px 20px;
  font-size: 16px;
  color: #666;
  grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 20px;
  }

  .category-tabs {
    padding: 0 20px;
  }

  .products-container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .banner-content p {
    font-size: 11px;
    padding-right: 40px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .site-branding .site-title {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .header-actions {
    gap: 15px;
  }

  .category-tabs {
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    white-space: nowrap;
    padding: 20px 0;
    font-size: 14px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .site-branding .site-title {
    font-size: 20px;
  }

  .category-tabs {
    gap: 15px;
  }

  .tab-button {
    font-size: 12px;
    padding: 15px 0;
  }

  .product-card {
    font-size: 12px;
  }

  .product-info {
    padding: 8px;
  }

  .product-title {
    font-size: 11px;
    line-height: 1.3;
  }

  .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-description {
    display: none;
  }

  .product-price {
    font-size: 12px;
    margin-top: 4px;
  }

  .product-badges {
    top: 8px;
    left: 8px;
  }

  .product-badges .badge {
    font-size: 8px;
    padding: 3px 6px;
  }

  .product-actions {
    bottom: 8px;
    right: 8px;
  }

  .product-actions {
    display: none;
  }
}

/*--------------------------------------------------------------
# WooCommerce Shop Page - Override Default Styles
--------------------------------------------------------------*/

/* Hide default WooCommerce elements on shop page */
.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-breadcrumb {
  display: none;
}

/* Ensure our custom layout is used */
.post-type-archive-product .woocommerce {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.post-type-archive-product .woocommerce::before,
.post-type-archive-product .woocommerce::after {
  display: none;
}

/* Hide default WooCommerce product loop */
.post-type-archive-product .woocommerce ul.products {
  display: none !important;
}

/*--------------------------------------------------------------
# Shop Filters Sidebar
--------------------------------------------------------------*/

.shop-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px 60px;
  display: flex;
  gap: 40px;
}

.shop-sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.sidebar-inner {
  background: #fff;
  border: 1px solid #e5e5e5;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  padding: 25px 25px 20px;
  border-bottom: 1px solid #e5e5e5;
}

/* Mobile Filter Toggle */
.filters-toggle {
  display: none;
  width: 100%;
  padding: 18px 25px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
}

.filters-toggle:hover {
  background: #333;
}

.filters-toggle svg {
  flex-shrink: 0;
}

.filters-content {
  padding: 0;
}

/* Widget Styles */
.shop-sidebar .widget {
  padding: 25px;
  border-bottom: 1px solid #e5e5e5;
}

.shop-sidebar .widget:last-child {
  border-bottom: none;
}

.shop-sidebar .widget-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
  color: #000;
}

/* Category & Brand Lists */
.shop-sidebar .product-categories,
.shop-sidebar .product-brands {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-sidebar .product-categories li,
.shop-sidebar .product-brands li {
  margin-bottom: 12px;
}

.shop-sidebar .product-categories li:last-child,
.shop-sidebar .product-brands li:last-child {
  margin-bottom: 0;
}

.shop-sidebar .product-categories a,
.shop-sidebar .product-brands a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  padding: 5px 0;
}

.shop-sidebar .product-categories a:hover,
.shop-sidebar .product-brands a:hover {
  color: #000;
}

.shop-sidebar .count {
  font-size: 12px;
  color: #999;
}

/* Price Filter Widget */
.shop-sidebar .price_slider_wrapper {
  padding-top: 10px;
}

.shop-sidebar .price_slider {
  margin-bottom: 20px;
  height: 4px;
  background: #e5e5e5;
  border-radius: 2px;
}

.shop-sidebar .ui-slider-range {
  background: #000;
  border-radius: 2px;
}

.shop-sidebar .ui-slider-handle {
  width: 16px;
  height: 16px;
  background: #000;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  outline: none;
}

.shop-sidebar .price_slider_amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.shop-sidebar .price_label {
  font-size: 14px;
  color: #333;
  flex: 1;
}

.shop-sidebar .button {
  background: #000;
  color: #fff;
  padding: 10px 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.shop-sidebar .button:hover {
  background: #ff4586;
}

/* Layered Nav Widget */
.shop-sidebar .woocommerce-widget-layered-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-sidebar .woocommerce-widget-layered-nav-list li {
  margin-bottom: 12px;
}

.shop-sidebar .woocommerce-widget-layered-nav-list li:last-child {
  margin-bottom: 0;
}

.shop-sidebar .woocommerce-widget-layered-nav-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  padding: 5px 0;
}

.shop-sidebar .woocommerce-widget-layered-nav-list a:hover {
  color: #000;
}

.shop-sidebar .woocommerce-widget-layered-nav-list .count {
  font-size: 12px;
  color: #999;
}

/* Active Filters */
.shop-sidebar .woocommerce-widget-layered-nav-list .chosen a {
  color: #000;
  font-weight: 500;
}

.shop-sidebar .woocommerce-widget-layered-nav-list .chosen a::before {
  content: "✓ ";
  margin-right: 5px;
}

/* Adjust products container */
.shop-container .products-container {
  flex: 1;
  padding: 0;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .shop-container {
    padding: 0 20px 40px;
    gap: 30px;
  }

  .shop-sidebar {
    flex: 0 0 240px;
  }
}

@media (max-width: 768px) {
  .shop-container {
    flex-direction: column;
    gap: 0;
  }

  .shop-sidebar {
    position: static;
    flex: 1;
    width: 100%;
    margin-bottom: 40px;
  }

  .filters-toggle {
    display: flex;
  }

  .filters-content {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .filters-content.active {
    display: block;
    max-height: 1000px;
  }

  .sidebar-title {
    display: none;
  }
}

/*--------------------------------------------------------------
# Single Product Page - Modern Minimalist Design
--------------------------------------------------------------*/

.single-product-main {
  background: #f8f8f8;
  padding: 60px 0;
}

/* Product Container */
.single-product-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: #fff;
  padding: 60px;
}

/* Product Gallery Section */
.product-gallery-section {
  position: sticky;
  top: 20px;
  align-self: flex-start;
}

.product-main-image .product-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 15px;
  font-size: 12px;
  z-index: 10;
}

.product-main-image {
  margin-bottom: 20px;
  overflow: hidden;
  background: #f8f8f8;
  aspect-ratio: 1/1;
  position: relative;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-main-image:hover img {
  transform: scale(1.05);
}

.product-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.thumbnail-item {
  cursor: pointer;
  overflow: hidden;
  background: #f8f8f8;
  aspect-ratio: 1/1;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.thumbnail-item:hover,
.thumbnail-item.active {
  border-color: #000;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info Section */
.product-info-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.product-breadcrumbs {
  font-size: 13px;
  color: #999;
}

.product-breadcrumbs a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.product-breadcrumbs a:hover {
  color: #000;
}

.product-breadcrumbs .woocommerce-breadcrumb {
  color: #999;
}

.product-breadcrumbs .woocommerce-breadcrumb a {
  color: #999;
}

.product-breadcrumbs .woocommerce-breadcrumb a:hover {
  color: #000;
}

.product-title-single {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 1px;
  margin: 0;
  color: #000;
  line-height: 1.2;
}

.product-price-single {
  font-size: 28px;
  font-weight: 300;
  color: #000;
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-price-single del {
  color: #999;
  margin-right: 10px;
  font-size: 24px;
}

.product-price-single ins {
  text-decoration: none;
  color: #ff4586;
}

/* Stock Status */
.product-info-section .stock {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 2px;
  margin-left: 15px;
}

.product-info-section .stock.in-stock {
  background: #000;
  color: #fff;
}

.product-info-section .stock.out-of-stock {
  background: #f8d7da;
  color: #721c24;
}

/* Sale Badge on Gallery */
.product-gallery-section .onsale {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #ff4586;
  color: #fff;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
}

.product-short-description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

/* Add to Cart Section */
.product-add-to-cart {
  padding: 30px 0;
  border-bottom: 1px solid #e5e5e5;
}

.product-add-to-cart .cart {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.product-add-to-cart .quantity {
  display: flex;
  border: 1px solid #e5e5e5;
  background: #fff;
  align-items: stretch;
}

.product-add-to-cart .quantity input {
  width: 80px;
  text-align: center;
  border: none;
  padding: 15px 10px;
  font-size: 16px;
  background: transparent;
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-add-to-cart .quantity input::-webkit-outer-spin-button,
.product-add-to-cart .quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-add-to-cart .quantity input:focus {
  outline: none;
}

.product-add-to-cart .qty-btn {
  width: 40px;
  border: none;
  background: transparent;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-add-to-cart .qty-btn:hover {
  background: #f8f8f8;
}

.product-add-to-cart .qty-minus {
  border-right: 1px solid #e5e5e5;
}

.product-add-to-cart .qty-plus {
  border-left: 1px solid #e5e5e5;
}

.product-add-to-cart .single_add_to_cart_button {
  background: #000;
  color: #fff;
  padding: 15px 50px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 500;
}

.product-add-to-cart .single_add_to_cart_button:hover {
  background: #ff4586;
}

.product-add-to-cart .single_add_to_cart_button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Variations */
.product-add-to-cart .variations {
  margin-bottom: 20px;
}

.product-add-to-cart .variations td {
  padding: 10px 0;
  display: block;
}

.product-add-to-cart .variations label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: block;
  color: #000;
}

.product-add-to-cart .variations select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}

.product-add-to-cart .reset_variations {
  font-size: 12px;
  text-decoration: underline;
  color: #666;
  margin-top: 10px;
  display: inline-block;
}

/* Product Meta */
.product-meta-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
}

.product-meta-item {
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.product-meta-item .meta-label {
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  min-width: 100px;
}

.product-meta-item .meta-value {
  color: #333;
}

.product-meta-item .meta-value a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.product-meta-item .meta-value a:hover {
  color: #000;
}

/* Social Share */
.product-social-share {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
}

.share-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000;
}

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

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  color: #333;
  transition: all 0.3s;
  text-decoration: none;
}

.share-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

/* Product Tabs */
.product-details-tabs {
  max-width: 90%;
  margin: 40px auto 0;
  padding: 0 40px;
  background: #fff;
}

.woocommerce-tabs {
  border-top: 1px solid #e5e5e5;
}

.woocommerce-tabs .tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 50px;
  border-bottom: 1px solid #e5e5e5;
}

.woocommerce-tabs .tabs li {
  margin: 0;
  padding: 0;
}

.woocommerce-tabs .tabs li a {
  display: block;
  padding: 20px 0;
  color: #999;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.woocommerce-tabs .tabs li.active a,
.woocommerce-tabs .tabs li a:hover {
  color: #000;
  border-bottom-color: #000;
}

.woocommerce-tabs .panel {
  padding: 40px 0;
}

.woocommerce-tabs .panel h2 {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.woocommerce-tabs .panel p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

/* Reviews */
.woocommerce-tabs #reviews .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-tabs #reviews .comment {
  padding: 30px 0;
  border-bottom: 1px solid #e5e5e5;
}

.woocommerce-tabs #reviews .comment:last-child {
  border-bottom: none;
}

.woocommerce-tabs #reviews .comment-text {
  margin-left: 0;
}

.woocommerce-tabs #reviews .meta {
  font-size: 14px;
  color: #000;
  font-weight: 500;
  margin-bottom: 10px;
}

.woocommerce-tabs #reviews .star-rating {
  float: none;
  display: inline-block;
  margin-left: 10px;
}

.woocommerce-tabs #reviews .description p {
  margin-top: 10px;
  color: #666;
}

.woocommerce-tabs #reviews .comment-form input[type="text"],
.woocommerce-tabs #reviews .comment-form input[type="email"],
.woocommerce-tabs #reviews .comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  background: #fff;
  font-size: 14px;
  margin-bottom: 20px;
}

.woocommerce-tabs #reviews .comment-form input:focus,
.woocommerce-tabs #reviews .comment-form textarea:focus {
  border-color: #000;
  outline: none;
}

.woocommerce-tabs #reviews .comment-form .submit {
  background: #000;
  color: #fff;
  padding: 15px 40px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.woocommerce-tabs #reviews .comment-form .submit:hover {
  background: #ff4586;
}

/* Related Products */
.related-products-section {
  background: #f8f8f8;
  padding: 60px 0;
  margin-top: 60px;
}

.related-products-section .related.products {
  max-width: 90%;
  margin: 0 auto !important;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
}

.related-products-section h2 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: center;
  color: #000;
}

.related-products-section .products,
.related-products-section ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  justify-items: center;
  gap: 30px !important;
  list-style: none !important;

  width: 100% !important;
}

.related-products-section ul.products::before,
.related-products-section ul.products::after {
  display: none !important;
}

/* Clear floats and fix WooCommerce default styles */
.related-products-section .product::before,
.related-products-section .product::after,
.related-products-section li.product::before,
.related-products-section li.product::after {
  display: none !important;
}

.related-products-section .product,
.related-products-section li.product {
  clear: none !important;
}

/* Force correct image container */
.related-products-section .product .woocommerce-loop-product__link {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.related-products-section .product .woocommerce-loop-product__link::before {
  content: "";
  display: block;
  padding-top: 100%; /* 1:1 Aspect Ratio */
}

.related-products-section .product img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.related-products-section .product,
.related-products-section li.product {
  background: #fff !important;
  transition:
    transform 0.3s,
    box-shadow 0.3s !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.related-products-section .product:hover,
.related-products-section li.product:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Use same product-card styles */
.related-products-section .product .product-card {
  background: #fff;
  position: relative;
}

/* Default WooCommerce product structure */
.related-products-section .product .woocommerce-loop-product__link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.related-products-section .product .product-badges,
.related-products-section .product .onsale {
  position: absolute !important;
  top: 15px !important;
  left: 15px !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.related-products-section .product .badge,
.related-products-section .product .onsale {
  background: #ff4586 !important;
  color: #fff !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 6px 12px !important;
  font-weight: 500 !important;
  display: inline-block !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.related-products-section .product .badge-new {
  background: #ff4586 !important;
  color: #fff !important;
}

/* Product Badges (Bestseller, Must Try, New) */
.woocommerce-loop-product__link,
.woocommerce-LoopProduct-link {
  position: relative;
  display: block;
}

.products .product {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  line-height: 1;
}

.badge-bestseller {
  background: #ff6b6b;
  color: #fff;
}

.badge-must-try {
  background: #4ecdc4;
  color: #fff;
}

.badge-new {
  background: #ff4586;
  color: #fff;
}

/* Single product badge positioning */
.product-gallery-section .product-badge {
  top: 20px;
  left: 20px;
  padding: 8px 15px;
  font-size: 12px;
}

.related-products-section .product .product-image-link,
.related-products-section .product .woocommerce-loop-product__link {
  display: block !important;
  overflow: hidden !important;
  position: relative;
}

.related-products-section .product .product-image,
.related-products-section .product img,
.related-products-section .product .attachment-woocommerce_thumbnail {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
  display: block !important;
}

.related-products-section .product:hover .product-image,
.related-products-section .product:hover img {
  transform: scale(1.05) !important;
}

.related-products-section .product .placeholder-image,
.related-products-section .product .woocommerce-placeholder {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1/1 !important;
  background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #999 !important;
  font-size: 14px !important;
  object-fit: cover !important;
}

.related-products-section .product .product-info {
  padding: 20px;
  text-align: center;
}

.related-products-section .product .product-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.related-products-section .product .product-title a {
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s;
}

.related-products-section .product .product-title a:hover {
  opacity: 0.7;
}

.related-products-section .product .product-description {
  font-size: 13px;
  color: #888;
  margin: 0 0 10px;
  line-height: 1.4;
}

.related-products-section .product .product-price {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.related-products-section .product .product-price del {
  color: #999;
  margin-right: 5px;
}

.related-products-section .product .product-price ins {
  text-decoration: none;
  color: #ff4586;
  font-weight: 500;
}

/* Style WooCommerce default elements instead of hiding */
.related-products-section .product .woocommerce-loop-product__title {
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.5px !important;
  color: #000 !important;
  margin: 15px 0 10px !important;
  padding: 0 15px !important;
  text-align: center !important;
}

.related-products-section .product .price {
  font-size: 14px !important;
  color: #666 !important;
  margin: 0 !important;
  padding: 0 15px 20px !important;
  display: block !important;
  text-align: center !important;
}

.related-products-section .product .price del {
  color: #999 !important;
  margin-right: 5px !important;
}

.related-products-section .product .price ins {
  text-decoration: none !important;
  color: #ff4586 !important;
  font-weight: 500 !important;
}

.related-products-section .product .button {
  display: none !important;
}

.related-products-section .product .star-rating {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .single-product-container {
    gap: 50px;
    padding: 40px;
  }

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

  .related-products-section .products,
  .related-products-section ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .single-product-main {
    padding: 30px 0;
  }

  .single-product-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px 20px;
  }

  .product-gallery-section {
    position: static;
  }

  .product-title-single {
    font-size: 28px;
  }

  .product-price-single {
    font-size: 24px;
  }

  .product-thumbnails {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .product-add-to-cart .cart {
    flex-direction: column;
    width: 100%;
  }

  .product-add-to-cart .single_add_to_cart_button {
    width: 100%;
  }

  .woocommerce-tabs .tabs {
    gap: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-tabs .tabs li a {
    white-space: nowrap;
    font-size: 12px;
  }

  .related-products-section .products,
  .related-products-section ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .product-details-tabs {
    padding: 0 20px;
  }

  .related-products-section {
    padding: 40px 0;
  }

  .related-products-section .related.products {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .related-products-section .products,
  .related-products-section ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .related-products-section .product-card .product-info {
    padding: 8px;
  }

  .related-products-section .product-card .product-title {
    font-size: 11px;
  }

  .related-products-section .product-card .product-price {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# WooCommerce General Styles
--------------------------------------------------------------*/

/* General WooCommerce Container */
.woocommerce {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Buttons General Style */
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: #000;
	color: #fff;
	padding: 12px 30px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	text-decoration: none;
	display: inline-block;
}

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

.woocommerce .button:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* Alt Button Style */
.woocommerce .button.alt,
.woocommerce button.button.alt {
	background: #ff4586;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
	background: #000;
}

/* Forms */
.woocommerce form .form-row {
	margin-bottom: 20px;
}

.woocommerce form .form-row label {
	display: block;
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #333;
}

.woocommerce form input.input-text,
.woocommerce form textarea,
.woocommerce form select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #e5e5e5;
	background: #fff;
	font-size: 14px;
	color: #333;
	transition: border-color 0.3s;
}

.woocommerce form input.input-text:focus,
.woocommerce form textarea:focus,
.woocommerce form select:focus {
	border-color: #000;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Required Fields */
.woocommerce form .required {
	color: #ff4586;
	font-weight: 700;
	border: 0 !important;
	text-decoration: none;
}

/* Notices */
.woocommerce-notices-wrapper {
	margin-bottom: 30px;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-left: 4px solid #000;
	padding: 20px 25px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.6;
	position: relative;
	list-style: none;
}

.woocommerce .woocommerce-message {
	border-left-color: #27ae60;
}

.woocommerce .woocommerce-error {
	border-left-color: #e74c3c;
}

.woocommerce .woocommerce-info {
	border-left-color: #3498db;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before {
	display: none;
}

.woocommerce .woocommerce-message a.button,
.woocommerce .woocommerce-error a.button,
.woocommerce .woocommerce-info a.button {
	background: #000;
	color: #fff;
	padding: 8px 20px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	transition: background 0.3s;
	margin-left: 10px;
}

.woocommerce .woocommerce-message a.button:hover,
.woocommerce .woocommerce-error a.button:hover,
.woocommerce .woocommerce-info a.button:hover {
	background: #ff4586;
}

/* Price */
.woocommerce .price,
.woocommerce .amount {
	color: #000;
	font-weight: 400;
}

.woocommerce .price del {
	color: #999;
	opacity: 0.7;
}

.woocommerce .price ins {
	text-decoration: none;
	color: #ff4586;
	font-weight: 500;
}

/* Star Rating */
.woocommerce .star-rating {
	color: #ff4586;
}

.woocommerce .star-rating::before {
	color: #e5e5e5;
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
	font-size: 13px;
	color: #999;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e5e5;
}

.woocommerce .woocommerce-breadcrumb a {
	color: #999;
	text-decoration: none;
	transition: color 0.3s;
}

.woocommerce .woocommerce-breadcrumb a:hover {
	color: #000;
}

/* Result Count & Ordering */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}

.woocommerce .woocommerce-ordering select {
	padding: 8px 12px;
	border: 1px solid #e5e5e5;
	background: #fff;
	font-size: 13px;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
	text-align: center;
	padding: 40px 0;
}

.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}

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

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid #e5e5e5;
	color: #000;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: #000;
	color: #fff;
	border-color: #000;
}

/* Tables */
.woocommerce table.shop_table {
	border: 1px solid #e5e5e5;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 0;
}

.woocommerce table.shop_table thead {
	background: #f8f8f8;
}

.woocommerce table.shop_table th {
	padding: 15px 20px;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.5px;
	color: #666;
}

.woocommerce table.shop_table td {
	padding: 15px 20px;
	border-top: 1px solid #e5e5e5;
}

.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table tfoot td {
	border-top: 2px solid #e5e5e5;
	font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
	.woocommerce .button,
	.woocommerce button.button,
	.woocommerce input.button {
		padding: 10px 20px;
		font-size: 11px;
	}

	.woocommerce nav.woocommerce-pagination ul li a,
	.woocommerce nav.woocommerce-pagination ul li span {
		min-width: 35px;
		height: 35px;
		font-size: 12px;
	}
}

/*--------------------------------------------------------------
# General Page Improvements
--------------------------------------------------------------*/

/* Page Titles */
.entry-header {
	margin-bottom: 40px;
}

.entry-title {
	font-size: 32px;
	font-weight: 300;
	letter-spacing: 1px;
	margin: 0;
	color: #000;
}

/* Content Spacing */
.site-main {
	padding: 40px 0;
}

/* Links */
a {
	color: #000;
	transition: opacity 0.3s;
}

a:hover {
	opacity: 0.7;
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

/* Language Switcher */
.language-switcher {
	display: flex;
	align-items: center;
}
.lang-list {
	list-style: none;
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
}
.lang-list li {
	display: flex;
	align-items: center;
}
.lang-list li a {
	display: flex;
	align-items: center;
	opacity: 0.5;
	transition: opacity 0.2s;
}
.lang-list li.current-lang a {
	opacity: 1;
}
.lang-list li a:hover {
	opacity: 1;
}
.lang-list li a img {
	width: 20px;
	height: auto;
	border-radius: 2px;
}

/* WooCommerce Price Filter */
.wc-block-price-filter__range-text,
.wc-block-components-price-slider__range-text {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}
.wc-block-price-filter__range-text .wc-block-formatted-money-amount,
.wc-block-components-price-slider__range-text .wc-block-formatted-money-amount {
	font-weight: 500;
}
.wp-block-woocommerce-price-filter {
	margin-bottom: 20px;
}
.wc-block-price-filter__controls,
.wc-block-components-price-slider__controls {
	margin-top: 15px;
}

.widget_price_filter .price_slider_amount {
  flex-direction: column-reverse;
}

.header-main {
  position: relative;
}

.site-branding {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

@media screen and (max-width: 600px) {
  .language-switcher {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .site-branding {
    max-width: 50px;
  }
}

.mobile-language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-language-switcher ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.mobile-language-switcher li {
  margin: 0;
  padding: 0;
}
.mobile-language-switcher li a {
  display: flex;
  align-items: center;
  gap: 10px;
}
/*--------------------------------------------------------------
# Footer Styles
--------------------------------------------------------------*/
.site-footer {
  background: #000;
  color: #fff;
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Main Footer */
.footer-main {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main .footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-column {
  min-width: 0;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #fff;
}

/* Footer About */
.footer-about .footer-logo {
  margin-bottom: 20px;
}

.footer-about .footer-logo img {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-site-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #fff;
  color: #000;
}

/* Footer Links */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.7;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: #fff;
}

/* Payment Methods */
.footer-payments {
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payments .footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.payments-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.payment-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.payment-visa {
  font-style: italic;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.payment-mastercard {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: lowercase;
  font-weight: 500;
  font-size: 10px;
}

.payment-mastercard .mc-circles {
  position: relative;
  width: 22px;
  height: 14px;
  flex-shrink: 0;
}

.payment-mastercard .mc-circles::before,
.payment-mastercard .mc-circles::after {
  content: '';
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.payment-mastercard .mc-circles::before {
  left: 0;
  background: #eb001b;
}

.payment-mastercard .mc-circles::after {
  right: 0;
  background: #f79e1b;
}

.payment-applepay,
.payment-googlepay {
  font-weight: 500;
  font-size: 12px;
}

.payment-applepay svg,
.payment-googlepay svg {
  flex-shrink: 0;
}

/* Bottom Footer */
.footer-bottom {
  padding: 25px 0;
}

.footer-bottom .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-copyright p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright .company-info {
  margin-top: 5px;
}

.footer-copyright .company-info span {
  margin-right: 15px;
}

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

.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.footer-developed-by {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-developed-by a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-developed-by a:hover {
  color: #fff;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-main .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-main .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-about {
    grid-column: span 1;
    text-align: center;
  }

  .footer-about .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-contact-list li {
    justify-content: center;
    text-align: left;
  }

  .footer-bottom .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 20px;
  }

  .footer-main {
    padding: 30px 0 20px;
  }

  .footer-title {
    font-size: 13px;
  }

  .footer-links a,
  .footer-contact-list li {
    font-size: 13px;
  }

  .footer-bottom-links {
    gap: 15px;
  }

  .footer-bottom-links a,
  .footer-copyright p {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Default Page Styles
--------------------------------------------------------------*/
.site-main {
  min-height: 60vh;
}

/* Page Container */
.site-main:not(.new-arrivals-main) {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 30px;
}

/* Page Header */
.page-header {
  margin-bottom: 40px;
  text-align: center;
}

.page-title {
  font-size: 32px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: #000;
}

/* Page Content */
.page-content,
.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.page-content p,
.entry-content p {
  margin-bottom: 20px;
}

.page-content a,
.entry-content a {
  color: #000;
  text-decoration: underline;
}

.page-content a:hover,
.entry-content a:hover {
  text-decoration: none;
}

/* Entry Header */
.entry-header {
  margin-bottom: 40px;
  text-align: center;
}

.entry-title {
  font-size: 32px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: #000;
}

/* 404 Page */
.error-404 {
  text-align: center;
  padding: 40px 0;
}

.error-404 .page-header {
  margin-bottom: 30px;
}

.error-404 .page-title {
  font-size: 28px;
}

.error-404 .page-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .page-content > p {
  color: #666;
  margin-bottom: 30px;
}

/* Search Form */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto 40px;
}

.search-form .search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 0;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-form .search-field:focus {
  border-color: #000;
}

.search-form .search-submit {
  padding: 12px 24px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form .search-submit:hover {
  background: #333;
}

/* Widgets on 404 */
.error-404 .widget {
  margin-bottom: 40px;
  text-align: left;
}

.error-404 .widget-title,
.error-404 .widgettitle {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  color: #000;
}

.error-404 .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.error-404 .widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.error-404 .widget ul li:last-child {
  border-bottom: none;
}

.error-404 .widget ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.error-404 .widget ul li a:hover {
  color: #000;
}

.error-404 .widget select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  background: #fff;
}

/* Tag Cloud */
.error-404 .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.error-404 .tagcloud a {
  display: inline-block;
  padding: 6px 12px;
  background: #f5f5f5;
  color: #333;
  font-size: 12px !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.error-404 .tagcloud a:hover {
  background: #000;
  color: #fff;
}

/* Default Page Responsive */
@media (max-width: 768px) {
  .site-main:not(.new-arrivals-main) {
    padding: 40px 20px;
  }

  .page-title,
  .entry-title {
    font-size: 24px;
  }

  .error-404 .page-title {
    font-size: 22px;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form .search-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-main:not(.new-arrivals-main) {
    padding: 30px 15px;
  }

  .page-title,
  .entry-title {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .page-content,
  .entry-content {
    font-size: 14px;
  }
}

/* Enhanced 404 Page */
.error-404 .error-code {
  display: block;
  font-size: 120px;
  font-weight: 200;
  line-height: 1;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.error-404 .error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.error-404 .btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.error-404 .btn-primary {
  background: #000;
  color: #fff;
  border: 2px solid #000;
}

.error-404 .btn-primary:hover {
  background: transparent;
  color: #000;
}

.error-404 .btn-secondary {
  background: transparent;
  color: #000;
  border: 2px solid #000;
}

.error-404 .btn-secondary:hover {
  background: #000;
  color: #fff;
}

.error-404 .error-search {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.error-404 .error-search p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

@media (max-width: 480px) {
  .error-404 .error-code {
    font-size: 80px;
  }

  .error-404 .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-404 .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# FAQ Page
--------------------------------------------------------------*/
.faq-page {
  padding: 60px 20px 80px;
  max-width: 1000px;
  margin: 0 auto;
  background: #f9f9f9;
  min-height: 60vh;
}

.faq-page .page-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-page .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
  letter-spacing: -0.5px;
}

.faq-page .page-description {
  color: #666;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.faq-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.faq-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  margin: 50px 0 25px;
  padding-bottom: 12px;
  border-bottom: 3px solid #C9A86C;
}

.faq-category-title:first-child {
  margin-top: 0;
}

.faq-accordion {
  display: block;
  width: 100%;
  margin-bottom: 40px;
}

.faq-accordion * {
  box-sizing: border-box;
}

.faq-item {
  display: block;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  width: 100%;
  margin-bottom: 16px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
  box-shadow: 0 4px 20px rgba(201, 168, 108, 0.25);
}

.faq-question,
button.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 25px;
  margin: 0;
  background: #fff;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.faq-question:hover,
button.faq-question:hover {
  background-color: #fdf9f3;
}

.faq-question:focus,
button.faq-question:focus {
  outline: none;
  background-color: #fdf9f3;
}

.faq-item.active .faq-question,
.faq-item.active button.faq-question {
  background-color: #fdf9f3;
  color: #222;
}

.faq-question-text {
  flex: 1;
  line-height: 1.5;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 50%;
  color: #C9A86C;
  transition: all 0.3s ease;
}

.faq-item:hover .faq-icon {
  background: #C9A86C;
  color: #fff;
}

.faq-item.active .faq-icon {
  background: #C9A86C;
  color: #fff;
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  background: #fdf9f3;
  border-top: 1px solid #f0e6d3;
}

.faq-answer-content {
  padding: 25px 25px 30px;
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

.faq-answer-content p {
  margin: 0 0 15px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
  margin: 0 0 15px;
  padding-left: 25px;
}

.faq-answer-content li {
  margin-bottom: 10px;
}

.faq-answer-content a {
  color: #C9A86C;
  text-decoration: none;
  border-bottom: 1px solid #C9A86C;
  transition: all 0.2s ease;
}

.faq-answer-content a:hover {
  color: #a88a4c;
  border-bottom-color: #a88a4c;
}

.no-faq {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  padding: 60px 20px;
  background: #fff;
  border-radius: 12px;
}

.faq-page .page-content {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
}

/* FAQ Search (optional enhancement) */
.faq-search {
  margin-bottom: 40px;
  text-align: center;
}

.faq-search input {
  width: 100%;
  max-width: 500px;
  padding: 15px 25px;
  font-size: 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 50px;
  outline: none;
  transition: border-color 0.3s ease;
}

.faq-search input:focus {
  border-color: #C9A86C;
}

@media (max-width: 768px) {
  .faq-page {
    padding: 40px 15px 60px;
  }

  .faq-page .page-title {
    font-size: 1.8rem;
  }

  .faq-page .page-description {
    font-size: 1rem;
  }

  .faq-question,
  button.faq-question {
    padding: 18px 20px;
    font-size: 0.95rem;
    gap: 15px;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .faq-icon svg {
    width: 18px;
    height: 18px;
  }

  .faq-answer-content {
    padding: 20px;
    font-size: 0.95rem;
  }

  .faq-category-title {
    font-size: 1.25rem;
    margin: 35px 0 20px;
  }

  .faq-accordion {
    gap: 12px;
  }
}

/*--------------------------------------------------------------
# Cookie Consent Banner
--------------------------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-consent-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.cookie-consent-dialog {
  position: relative;
  background: #fff;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cookie-consent-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 15px;
  color: #333;
}

.cookie-consent-text {
  margin-bottom: 15px;
}

.cookie-consent-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.cookie-consent-link {
  display: inline-block;
  color: #4a7c59;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 20px;
}

.cookie-consent-link:hover {
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-accept {
  background: #4a7c59;
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #3d6a4a;
}

.cookie-btn-settings {
  background: transparent;
  color: #4a7c59;
  border: none;
}

.cookie-btn-settings:hover {
  text-decoration: underline;
}

.cookie-btn-settings svg {
  stroke: #4a7c59;
}

.cookie-btn-reject {
  background: transparent;
  color: #666;
}

.cookie-btn-reject:hover {
  color: #333;
}

.cookie-btn-save {
  background: #4a7c59;
  color: #fff;
  margin-top: 15px;
}

.cookie-btn-save:hover {
  background: #3d6a4a;
}

/* Cookie Settings Panel */
.cookie-settings-panel {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.cookie-category {
  margin-bottom: 15px;
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cookie-category-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #4a7c59;
}

.cookie-category-name {
  font-weight: 500;
  color: #333;
}

.cookie-category-required {
  font-size: 12px;
  color: #999;
}

.cookie-category-desc {
  font-size: 13px;
  color: #666;
  margin: 5px 0 0 28px;
}

/* Responsive */
@media (max-width: 480px) {
  .cookie-consent-dialog {
    padding: 20px;
  }

  .cookie-consent-title {
    font-size: 18px;
  }

  .cookie-consent-text p {
    font-size: 13px;
  }

  .cookie-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}

.widget-area {
	display: none !important;
}
