/*!
Theme Name: dloads
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dloads
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.

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

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

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%;
}

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

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




:root {
  --home-bg: #f5f7fb;
  --surface: #ffffff;
  --surface-dark: #07111f;
  --surface-dark-2: #0b1728;
  --text: #0f172a;
  --text-soft: #475569;
  --text-light: #cbd5e1;
  --border: #e2e8f0;
  --primary: #1161ff;
  --primary-hover: #0a4fe0;
  --primary-soft: #eaf2ff;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.08);
  --container: 1440px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 20px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 56px;
  --space-9: 72px;
  --title-xl: clamp(2.2rem, 1.3rem + 3.5vw, 4.8rem);
  --title-lg: clamp(1.7rem, 1.15rem + 1.8vw, 2.8rem);
  --title-md: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  --text-base: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
  --text-sm: 0.9375rem;
  --transition: 180ms ease;
}



/*HEADER STYLE*/
/*HEADER STYLE*/
.eh-header {
  position: relative;
  z-index: 10;
  background:
    radial-gradient(circle at top right, rgba(11, 99, 246, 0.14), transparent 28%),
    #020817;
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
}

.eh-header-top {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.eh-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1rem, .92rem + .45vw, 1.25rem);
  font-weight: 800;
}

.eh-logo-link:hover,
.eh-logo-link:focus,
.eh-logo-link:visited {
  color: #fff;
  text-decoration: none;
}

.eh-logo__mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b63f6, #1ea0ff);
  box-shadow: 0 10px 24px rgba(11, 99, 246, 0.28);
  color: #fff;
  flex-shrink: 0;
}

.eh-logo__text {
  color: #fff;
  white-space: nowrap;
}

.eh-search-col {
  min-width: 0;
}

.eh-search {
  width: 100%;
}

.eh-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 48px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(2, 8, 23, 0.12);
}

.eh-search-input {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
  border-radius: 0;
  box-shadow: none;
}

.eh-search-input::placeholder {
  color: #94a3b8;
}

.eh-search-btn {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #0b63f6, #2563eb);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
}

.eh-search-btn:hover,
.eh-search-btn:focus {
  background: linear-gradient(135deg, #0954cf, #1d4ed8);
  color: #fff;
}

.eh-actions {
  min-width: 0;
}

.eh-phone,
.eh-action-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.eh-action-link:hover,
.eh-action-link:focus,
.eh-action-link:visited {
  color: #fff;
  text-decoration: none;
}

.eh-phone-text,
.eh-action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.eh-phone-text strong,
.eh-action-text strong {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}

.eh-phone-text small,
.eh-action-text small {
  font-size: .75rem;
  color: rgba(255,255,255,.68);
}

.eh-action-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  color: #fff;
  flex-shrink: 0;
}

.eh-cart-link {
  position: relative;
  padding-right: 6px;
}

.eh-cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  border-radius: 999px;
  background: #0b63f6;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eh-search-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1;
}

.eh-header-nav {
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.eh-nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}

.eh-catalog-dropdown {
  flex-shrink: 0;
}

.eh-catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  background: linear-gradient(135deg, #0b63f6, #2563eb);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.eh-catalog-btn:hover,
.eh-catalog-btn:focus,
.eh-catalog-btn.show {
  color: #fff;
  background: linear-gradient(135deg, #0954cf, #1d4ed8);
}

.eh-catalog-menu {
  min-width: 290px;
  padding: 12px 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: #0f172a;
  box-shadow: 0 20px 50px rgba(2, 8, 23, 0.28);
}

.eh-catalog-menu .menu,
.eh-category-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eh-catalog-menu .menu li,
.eh-category-menu li {
  list-style: none;
}

.eh-catalog-menu .menu li a,
.eh-category-menu li a {
  display: block;
  padding: 10px 18px;
  color: #fff;
  text-decoration: none;
}

.eh-catalog-menu .menu li a:hover,
.eh-category-menu li a:hover {
  background: rgba(255,255,255,.05);
  color: #8fc2ff;
}

.eh-main-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.eh-main-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-main-menu > li {
  list-style: none;
}

.eh-main-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 10px;
  transition: .2s ease;
}

.eh-main-menu > li > a:hover,
.eh-main-menu > li > a:focus {
  color: #8fc2ff;
  background: rgba(255,255,255,.04);
}

.eh-navbar-toggler {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  padding: 0;
}

.eh-navbar-toggler .navbar-toggler-icon {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.eh-navbar-toggler .navbar-toggler-icon::before,
.eh-navbar-toggler .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.eh-navbar-toggler .navbar-toggler-icon::before {
  top: -6px;
}

.eh-navbar-toggler .navbar-toggler-icon::after {
  top: 6px;
}

@media (max-width: 1199.98px) {
  .eh-phone-text small,
  .eh-action-text small {
    display: none;
  }

  .eh-nav-wrap {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .eh-navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .eh-main-nav {
    display: none;
    width: 100%;
    flex-basis: 100%;
  }

  .eh-main-nav.is-open {
    display: block;
  }

  .eh-main-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 10px;
  }

  .eh-main-menu > li {
    width: 100%;
  }

  .eh-main-menu > li > a {
    width: 100%;
    min-height: 46px;
    padding: 10px 0;
    border-radius: 0;
  }
}

@media (max-width: 767.98px) {
  .eh-header-top .container,
  .eh-header-nav .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .eh-header-top .row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
  }

  .eh-header-top .col-12.col-xl-2 {
    grid-column: 1 / 2;
    order: 1;
  }

  .eh-header-top .col-12.col-xl-5:last-child {
    grid-column: 2 / 3;
    order: 2;
  }

  .eh-search-col,
  .eh-header-top .col-12.col-xl-5:not(:last-child) {
    grid-column: 1 / -1;
    order: 3;
    display: none;
  }

  .eh-search-col.is-open,
  .eh-header-top .col-12.col-xl-5:not(:last-child).is-open {
    display: block;
  }

  .eh-logo-link {
    gap: 8px;
    font-size: 1rem;
  }

  .eh-logo__text {
    font-size: 1rem;
    white-space: nowrap;
  }

  .eh-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
    flex-wrap: nowrap;
  }

  .eh-phone {
    display: none;
  }

  .eh-action-link,
  .eh-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .eh-action-text {
    display: none !important;
  }

  .eh-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .eh-cart-link {
    padding-right: 0;
  }

  .eh-cart-count {
    top: -4px;
    right: -2px;
  }

  .eh-header-nav {
    padding: 10px 0 12px;
  }

  .eh-nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    min-height: auto;
  }

  .eh-catalog-dropdown {
    width: 100%;
  }

  .eh-catalog-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 12px;
  }

  .eh-navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 0;
  }

  .eh-main-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
  }

  .eh-main-nav.is-open {
    display: block;
    padding-top: 6px;
  }

  .eh-main-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
  }

  .eh-main-menu > li {
    width: 100%;
  }

  .eh-main-menu > li > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 0;
    border-radius: 0;
    font-size: 14px;
  }

  .eh-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 44px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 8px;
  }

  .eh-search-input {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .eh-search-btn {
    height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .eh-catalog-menu {
    width: 100%;
    min-width: 100%;
    margin-top: 8px;
  }
}
/*HEADER STYLE END*/

/*HEADER STYLE END*/



/*ГОЛОВНА ІНФОРМАЦІЯ В ЦЕНТРІ СТОРІКИ*/
.home-page {
  background: var(--home-bg);
  color: var(--text);
  font-size: var(--text-base);
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}

.home-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.home-page .container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.home-page .section-space {
  padding-block: clamp(40px, 5vw, 72px);
}

.home-page .section-space--sm {
  padding-block: clamp(24px, 3vw, 40px);
}

.home-page .section-title {
  margin: 0 0 var(--space-5);
  font-size: var(--title-lg);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.home-page .section-title--light {
  color: #fff;
}

.home-page .section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.home-page .section-link {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.home-page .section-link:hover {
  color: var(--primary-hover);
}

.home-page .home-btn,
.home-page a.button,
.home-page button.button,
.home-page input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.home-page .home-btn:hover,
.home-page a.button:hover,
.home-page button.button:hover,
.home-page input.button:hover {
  transform: translateY(-1px);
}

.home-page .home-btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(17, 97, 255, 0.22);
}

.home-page .home-btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.home-page .home-btn--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.home-page .home-btn--dark:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-page .home-btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.home-page .home-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-page .home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 5vw, 56px) var(--space-5);
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.96) 0%, rgba(3, 7, 18, 0.78) 44%, rgba(3, 7, 18, 0.42) 100%),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  color: #fff;
}

.home-page .home-hero__wrap {
  min-height: min(72dvh, 640px);
  display: grid;
  align-items: center;
}

.home-page .home-hero__content {
  width: min(100%, 680px);
}

.home-page .home-hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-4);
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 600;
}

.home-page .home-hero__title {
  margin: 0 0 var(--space-4);
  font-size: var(--title-xl);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
}

.home-page .home-hero__title span {
  color: #1ea0ff;
}

.home-page .home-hero__text {
  width: min(100%, 58ch);
  margin: 0 0 var(--space-6);
  color: #dbe5f1;
  line-height: 1.7;
}

.home-page .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.home-page .home-benefits,
.home-page .features-row {
  display: grid;
  gap: var(--space-3);
}

.home-page .home-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--space-5);
}

.home-page .home-benefits__item {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(8, 15, 28, 0.68);
  backdrop-filter: blur(10px);
}

.home-page .home-benefits__item strong,
.home-page .features-row__item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.97rem;
  font-weight: 800;
}

.home-page .home-benefits__item span {
  display: block;
  color: #c8d4e4;
  font-size: 0.9rem;
}

.home-page .home-grid--categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.home-page .category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.home-page .category-card:hover {
  transform: translateY(-3px);
  border-color: #c8d7ef;
  box-shadow: var(--shadow-md);
}

.home-page .category-card__title {
  margin: 0 0 14px;
  font-size: var(--title-md);
  line-height: 1.12;
  font-weight: 800;
  color: var(--text);
}

.home-page .category-card__text {
  margin: 0 0 var(--space-4);
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.home-page .category-card__link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.home-page .category-card__link:hover {
  color: var(--primary-hover);
}

.home-page .home-products .products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-page .home-products li.product {
  width: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.home-page .home-products li.product:hover {
  transform: translateY(-2px);
  border-color: #cad8ef;
  box-shadow: var(--shadow-md);
}

.home-page .home-products li.product a {
  text-decoration: none;
}

.home-page .home-products li.product img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 14px;
}

.home-page .home-products .woocommerce-loop-product__title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 700;
}

.home-page .home-products .star-rating {
  margin-bottom: 10px;
}

.home-page .home-products .price {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 800;
}

.home-page .home-products li.product .button {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
}

.home-page .home-products li.product .button:hover {
  background: var(--primary-hover);
  color: #fff;
}

.home-page .search-banner {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(125, 161, 212, 0.14);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.96) 0%, rgba(2, 8, 23, 0.84) 54%, rgba(2, 8, 23, 0.5) 100%),
    url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  box-shadow: var(--shadow-md);
}

.home-page .search-banner__content {
  width: min(100%, 760px);
}

.home-page .search-banner__text {
  margin: 0 0 var(--space-4);
  color: #dbeafe;
  line-height: 1.65;
}

.home-page .search-banner__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.home-page .search-banner__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-inline: 16px;
  border: 1px solid rgba(191, 219, 254, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.9rem;
}

.home-page .search-banner__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-3);
}

.home-page .search-banner__form input[type="search"] {
  width: 100%;
  min-height: 52px;
  padding-inline: 18px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.home-page .search-banner__form input[type="search"]::placeholder {
  color: #94a3b8;
}

.home-page .search-banner__form input[type="search"]:focus {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.home-page .features-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-page .features-row__item {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.home-page .features-row__item span {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
}

.home-page .brands-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
}

.home-page .brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.8rem);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.home-page .brand-card:hover {
  transform: translateY(-2px);
  border-color: #ccdbf1;
  box-shadow: var(--shadow-md);
}

.home-page .home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}

.home-page .home-about__content p {
  margin: 0 0 16px;
  color: var(--text-soft);
  line-height: 1.75;
}

.home-page .home-about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-4);
}

.home-page .home-about__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-inline: 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: #1d4ed8;
  font-size: 0.875rem;
  font-weight: 600;
}

.home-page .home-video-placeholder {
  min-height: clamp(260px, 36vw, 340px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(2, 8, 23, 0.84), rgba(30, 64, 175, 0.42)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.home-page .entry-content {
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.home-page .entry-content > *:first-child {
  margin-top: 0;
}

.home-page .entry-content > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .home-page .home-grid--categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .home-products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page .brands-grid,
  .home-page .features-row,
  .home-page .home-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .home-page .home-about__grid,
  .home-page .home-hero__wrap {
    grid-template-columns: 1fr;
  }

  .home-page .home-hero__wrap {
    min-height: auto;
    padding-block: 20px;
  }

  .home-page .home-grid--categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .search-banner__form {
    grid-template-columns: 1fr;
  }

  .home-page .home-products .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-page .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .home-page .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-page .home-grid--categories,
  .home-page .home-products .products,
  .home-page .brands-grid,
  .home-page .features-row,
  .home-page .home-benefits {
    grid-template-columns: 1fr;
  }

  .home-page .category-card,
  .home-page .brand-card {
    min-height: auto;
  }

  .home-page .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .home-btn,
  .home-page a.button,
  .home-page button.button,
  .home-page input.button {
    width: 100%;
  }
}
/*ГОЛОВНА ІНФОРМАЦІЯ В ЦЕНТРІ СТОРІКИ*/

/*ДИЗАЙН СТОРІНКИ ТОВАРІВ*/
/* CATEGORY PAGE */
.category-page {
  background: #f5f7fb;
  color: #0f172a;
}

.category-hero {
  padding: 22px 0 34px;
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.95) 0%, rgba(2, 8, 23, 0.82) 52%, rgba(2, 8, 23, 0.42) 100%),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
}

.category-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(255,255,255,.72);
}

.category-breadcrumbs a,
.category-breadcrumbs a:visited {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.category-hero__title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
}

.category-hero__text {
  margin: 0;
  max-width: 70ch;
  color: #d5e0ef;
  line-height: 1.7;
}

.category-layout {
  padding: 28px 0 36px;
}

.category-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.category-sidebar {
  display: grid;
  gap: 16px;
}

.filter-card {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.filter-card__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

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

.filter-list li + li {
  margin-top: 10px;
}

.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
}

.filter-list a:hover {
  color: #1161ff;
}

.filter-list em {
  font-style: normal;
  color: #94a3b8;
}

.filter-group + .filter-group {
  margin-top: 20px;
}

.filter-group h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #334155;
}

.price-range {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}

.price-range input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #d8e1ec;
  border-radius: 10px;
  background: #fff;
}

.price-range button {
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #1161ff;
  color: #fff;
  font-weight: 700;
}

.category-main {
  min-width: 0;
}

.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.category-toolbar__left,
.category-toolbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.view-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d9e3ef;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.view-toggle.is-active {
  background: #eef4ff;
  border-color: #bfd3ff;
  color: #1161ff;
}

.category-count,
.sort-label {
  font-size: 14px;
  color: #64748b;
}

.category-toolbar .woocommerce-ordering {
  margin: 0;
}

.category-toolbar .orderby {
  min-height: 40px;
  padding: 0 38px 0 14px;
  border: 1px solid #d8e1ec;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}

.category-products-grid.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.category-products-grid.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.category-products-grid.products li.product:hover {
  transform: translateY(-2px);
  border-color: #c8d7ef;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.category-products-grid.products li.product img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 12px;
}

.category-products-grid.products .woocommerce-loop-product__title {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #0f172a;
}

.category-products-grid.products .price {
  display: block;
  margin: 10px 0 12px;
  color: #0f172a;
  font-weight: 800;
}

.category-products-grid.products .button {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  background: #1161ff;
  color: #fff;
  border: 0;
}

.category-products-grid.products .button:hover {
  background: #0a4fe0;
  color: #fff;
}

.category-pagination {
  margin-top: 24px;
}

.category-empty {
  padding: 40px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .category-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .category-products-grid.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .category-shell {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    order: 2;
  }

  .category-main {
    order: 1;
  }

  .category-products-grid.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .category-layout {
    padding: 20px 0 28px;
  }

  .category-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .category-toolbar__left,
  .category-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .category-products-grid.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .price-range {
    grid-template-columns: 1fr 1fr;
  }

  .price-range button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .category-hero {
    padding: 18px 0 24px;
  }

  .category-products-grid.products {
    grid-template-columns: 1fr;
  }

  .filter-card,
  .category-toolbar,
  .category-products-grid.products li.product {
    border-radius: 14px;
  }
}
/*ДИЗАЙН СТОРІНКИ ТОВАРІВ КІНЕЦЬ*/

/* PRODUCT CARD */
.products .product-card {
  list-style: none;
  margin: 0 !important;
  width: auto !important;
}

.product-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card__inner:hover {
  transform: translateY(-2px);
  border-color: #cdd9ea;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.product-card__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 24px;
  margin-bottom: 8px;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.product-card__badge--sale {
  background: #16a34a;
}

.product-card__badge--new {
  background: #2563eb;
}

.product-card__badge--hit {
  background: #22c55e;
}

.product-card__image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  margin-bottom: 12px;
  text-decoration: none;
}

.product-card__image-link img,
.product-card__image {
  max-height: 130px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.product-card__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.product-card__title a,
.product-card__title a:visited {
  color: #0f172a;
  text-decoration: none;
}

.product-card__title a:hover {
  color: #1161ff;
}

.product-card__desc {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  min-height: 36px;
}

.product-card__meta {
  margin-bottom: 10px;
}

.product-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}

.product-card__stock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.product-card__stock.is-in-stock {
  color: #16a34a;
}

.product-card__stock.is-out-stock {
  color: #dc2626;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card__rating .star-rating {
  margin: 0;
  font-size: 12px;
}

.product-card__rating-count {
  color: #94a3b8;
  font-size: 12px;
}

.product-card__bottom {
  margin-top: auto;
}

.product-card__price {
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.product-card__price del {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
}

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

.product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.product-card__cart .button,
.product-card__cart a.button,
.product-card__cart .added_to_cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 10px;
  background: #1161ff !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none !important;
}

.product-card__cart .button:hover,
.product-card__cart a.button:hover,
.product-card__cart .added_to_cart:hover {
  background: #0a4fe0 !important;
  color: #fff !important;
}

.product-card__icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  text-decoration: none;
  transition: .2s ease;
}

.product-card__icon-btn:hover {
  border-color: #bfd3ff;
  color: #1161ff;
  background: #f5f9ff;
}

@media (max-width: 767.98px) {
  .product-card__inner {
    padding: 12px;
    border-radius: 14px;
  }

  .product-card__title {
    font-size: 14px;
  }

  .product-card__price {
    font-size: 20px;
  }

  .product-card__actions {
    grid-template-columns: 1fr;
  }

  .product-card__icons {
    justify-content: flex-end;
  }
}
/*КІНЕЦЬ ДИЗАЙНУ КАРТОЧКИ ПРОДУКТУ*/

/*ПОЧАТОК ДИЗАЙН СТОРІНКИ ТОВАРУ*/
/* SINGLE PRODUCT */
.single-product .site-main {
  padding: 0;
}

.single-product-custom {
  background: #f5f7fb;
  padding: 20px 0 48px;
}

.single-product-custom__breadcrumbs {
  margin-bottom: 20px;
}

.single-product-custom__breadcrumbs .woocommerce-breadcrumb {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.single-product-custom__breadcrumbs .woocommerce-breadcrumb a {
  color: #334155;
  text-decoration: none;
}

.single-product-custom__main {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}

.single-product-custom__gallery,
.single-product-custom__summary,
.single-product-custom__bottom {
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.single-product-custom__gallery {
  padding: 24px;
}

.single-product-custom__summary {
  position: sticky;
  top: 20px;
  padding: 24px;
}

.single-product-custom__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.single-product-custom__summary .product_title {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.4rem);
  line-height: 1.08;
  font-weight: 800;
}

.single-product-custom__summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.single-product-custom__summary .star-rating {
  margin: 0;
}

.single-product-custom__summary .price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.single-product-custom__summary .price del {
  color: #94a3b8;
  font-size: 18px;
  font-weight: 500;
}

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

.single-product-custom__summary .woocommerce-product-details__short-description {
  margin-bottom: 18px;
  color: #475569;
  line-height: 1.75;
}

.single-product-custom__summary .stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 700;
  color: #16a34a;
}

.single-product-custom__summary .stock::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.single-product-custom__summary form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.single-product-custom__summary form.cart .quantity {
  margin: 0 !important;
}

.single-product-custom__summary form.cart .qty {
  width: 84px;
  min-height: 48px;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  text-align: center;
}

.single-product-custom__summary form.cart .single_add_to_cart_button {
  min-height: 48px;
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b63f6, #2563eb) !important;
  color: #fff !important;
  font-weight: 700;
}

.single-product-custom__summary form.cart .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #0954cf, #1d4ed8) !important;
}

.single-product-custom__summary .product_meta {
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 14px;
}

.single-product-custom__summary .product_meta > span {
  display: block;
  margin-bottom: 8px;
}

.single-product-custom__summary .product_meta a {
  color: #1161ff;
  text-decoration: none;
}

.single-product-custom__extra {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.single-product-custom__feature {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fbff;
}

.single-product-custom__feature strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 14px;
}

.single-product-custom__feature span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.single-product-custom__bottom {
  padding: 24px;
}

.single-product-custom__bottom .woocommerce-tabs {
  margin-bottom: 24px;
}

.single-product-custom__bottom .tabs.wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px !important;
  padding: 0 !important;
  border: 0 !important;
}

.single-product-custom__bottom .tabs.wc-tabs::before,
.single-product-custom__bottom .tabs.wc-tabs::after {
  display: none !important;
}

.single-product-custom__bottom .tabs.wc-tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.single-product-custom__bottom .tabs.wc-tabs li::before,
.single-product-custom__bottom .tabs.wc-tabs li::after {
  display: none !important;
}

.single-product-custom__bottom .tabs.wc-tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px !important;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  background: #fff;
  color: #334155 !important;
  font-size: 14px;
  font-weight: 700;
}

.single-product-custom__bottom .tabs.wc-tabs li.active a {
  background: #eef4ff;
  border-color: #bfd3ff;
  color: #1161ff !important;
}

.single-product-custom__bottom .woocommerce-Tabs-panel {
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}

.single-product-custom__bottom .related > h2,
.single-product-custom__bottom .upsells > h2 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
}

.single-product-custom__gallery .woocommerce-product-gallery {
  margin: 0;
}

.single-product-custom__gallery .flex-viewport {
  border: 1px solid #eef2f7;
  border-radius: 18px;
  background: #fff;
}

.single-product-custom__gallery .woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 24px;
}

.single-product-custom__gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px !important;
}

.single-product-custom__gallery .flex-control-thumbs li {
  margin: 0 !important;
}

.single-product-custom__gallery .flex-control-thumbs img {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  opacity: 1 !important;
}

@media (max-width: 991.98px) {
  .single-product-custom__main {
    grid-template-columns: 1fr;
  }

  .single-product-custom__summary {
    position: static;
  }

  .single-product-custom__gallery .woocommerce-product-gallery__image a {
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {
  .single-product-custom {
    padding: 16px 0 32px;
  }

  .single-product-custom__gallery,
  .single-product-custom__summary,
  .single-product-custom__bottom {
    padding: 18px;
    border-radius: 16px;
  }

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

  .single-product-custom__summary form.cart {
    flex-direction: column;
    align-items: stretch;
  }

  .single-product-custom__summary form.cart .qty,
  .single-product-custom__summary form.cart .single_add_to_cart_button {
    width: 100%;
  }

  .single-product-custom__gallery .woocommerce-product-gallery__image a {
    min-height: 280px;
    padding: 18px;
  }

  .single-product-custom__gallery .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .single-product-custom__bottom .woocommerce-Tabs-panel {
    padding: 16px;
  }
}
/*КІНЕЦЬ ДИЗАЙНУ СТОРІНКИ ТОВАРУ*/

/* CATALOG PAGE */
.catalog-page {
  background: #f5f7fb;
  color: #0f172a;
}

.catalog-page__hero {
  padding: 22px 0 34px;
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.95) 0%, rgba(2, 8, 23, 0.82) 52%, rgba(2, 8, 23, 0.42) 100%),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: #fff;
}

.catalog-page__breadcrumbs {
  margin-bottom: 20px;
}

.catalog-page__breadcrumbs .woocommerce-breadcrumb {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 14px;
}

.catalog-page__breadcrumbs .woocommerce-breadcrumb a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
}

.catalog-page__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
}

.catalog-page__text {
  max-width: 70ch;
  margin: 0;
  color: #d6e1ee;
  line-height: 1.75;
}

.catalog-page__content {
  padding: 28px 0 40px;
}

.catalog-page__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  display: grid;
  gap: 16px;
}

.catalog-card {
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.catalog-card__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

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

.catalog-sidebar__menu li + li {
  margin-top: 10px;
}

.catalog-sidebar__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #334155;
  font-size: 14px;
  text-decoration: none;
}

.catalog-sidebar__menu a:hover {
  color: #1161ff;
}

.catalog-sidebar__menu em {
  font-style: normal;
  color: #94a3b8;
}

.catalog-sidebar__filters .widget,
.catalog-sidebar__filters .wp-block-group {
  margin-bottom: 18px;
}

.catalog-sidebar__filters label {
  font-size: 14px;
  color: #334155;
}

.catalog-main {
  min-width: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.catalog-toolbar__left,
.catalog-toolbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.catalog-view-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-view-switch button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d8e1ec;
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.catalog-view-switch button.is-active {
  background: #eef4ff;
  border-color: #bfd3ff;
  color: #1161ff;
}

.catalog-result-count,
.catalog-sort-label {
  color: #64748b;
  font-size: 14px;
}

.catalog-toolbar .woocommerce-ordering {
  margin: 0;
}

.catalog-toolbar .orderby {
  min-height: 40px;
  padding: 0 38px 0 14px;
  border: 1px solid #d8e1ec;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
}

.catalog-main ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.catalog-pagination {
  margin-top: 24px;
}

.catalog-empty {
  padding: 40px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

@media (max-width: 1199.98px) {
  .catalog-page__layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .catalog-main ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .catalog-page__layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    order: 2;
  }

  .catalog-main {
    order: 1;
  }

  .catalog-main ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .catalog-page__content {
    padding: 20px 0 28px;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-toolbar__left,
  .catalog-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-main ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 575.98px) {
  .catalog-page__hero {
    padding: 18px 0 24px;
  }

  .catalog-main ul.products {
    grid-template-columns: 1fr;
  }

  .catalog-card,
  .catalog-toolbar,
  .catalog-empty {
    border-radius: 14px;
  }
}
/*АРХІВ ПРОДУКТ*/

/* CART PAGE */
.cart-page {
  background: #f5f7fb;
  padding: 24px 0 48px;
}

.cart-page__head {
  margin-bottom: 24px;
}

.cart-page__head .woocommerce-breadcrumb {
  margin-bottom: 10px;
  color: #64748b;
  font-size: 14px;
}

.cart-page__head .woocommerce-breadcrumb a {
  color: #334155;
  text-decoration: none;
}

.cart-page__title {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: clamp(2rem, 1.5rem + 1.2vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
}

.cart-page__text {
  margin: 0;
  max-width: 70ch;
  color: #64748b;
  line-height: 1.7;
}

.cart-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.cart-page__items {
  min-width: 0;
}

.cart-item,
.cart-summary,
.cart-benefits {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.cart-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.cart-item + .cart-item {
  margin-top: 16px;
}

.cart-item__image a,
.cart-item__image img {
  display: block;
}

.cart-item__image img {
  width: 100%;
  border-radius: 14px;
  background: #fff;
}

.cart-item__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.cart-item__title a,
.cart-item__title a:visited {
  color: #0f172a;
  text-decoration: none;
}

.cart-item__title a:hover {
  color: #1161ff;
}

.cart-item__meta {
  margin-bottom: 14px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.cart-item__bottom {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 18px;
  align-items: end;
}

.cart-item__price,
.cart-item__quantity,
.cart-item__subtotal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-item .label {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cart-item__price strong,
.cart-item__subtotal strong {
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}

.cart-item__quantity .quantity {
  margin: 0 !important;
}

.cart-item__quantity .qty {
  width: 88px;
  min-height: 42px;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  text-align: center;
}

.cart-item__remove {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.cart-item__remove .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #f1d1d6;
  border-radius: 12px;
  background: #fff5f7;
  color: #dc2626 !important;
  font-size: 22px;
  text-decoration: none;
}

.cart-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.cart-page__coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cart-page__coupon .input-text {
  min-width: 220px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
}

.cart-page__coupon .button,
.cart-page__update-btn {
  min-height: 44px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 12px;
  background: #1161ff !important;
  color: #fff !important;
  font-weight: 700;
}

.cart-page__update-btn {
  background: #0f172a !important;
}

.cart-page__sidebar {
  display: grid;
  gap: 16px;
}

.cart-summary {
  position: sticky;
  top: 20px;
  padding: 20px;
}

.cart-summary__title {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 800;
}

.cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
  color: #334155;
}

.cart-summary__row strong {
  color: #0f172a;
}

.cart-summary__row--total {
  border-bottom: 0;
  padding-top: 18px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.cart-summary__row--total strong {
  font-size: 24px;
}

.cart-summary__shipping {
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}

.cart-summary__checkout .button,
.cart-summary__checkout a.checkout-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 16px !important;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b63f6, #2563eb) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.cart-benefits {
  padding: 18px;
}

.cart-benefits__item + .cart-benefits__item {
  margin-top: 14px;
}

.cart-benefits__item strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 14px;
}

.cart-benefits__item span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.cart-empty-state {
  padding: 48px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.cart-empty-state h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 30px;
  font-weight: 800;
}

.cart-empty-state p {
  margin: 0 0 18px;
  color: #64748b;
}

.cart-empty-state .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: #1161ff;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .cart-page__layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .cart-page {
    padding: 18px 0 32px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item__image {
    max-width: 180px;
  }

  .cart-item__bottom {
    grid-template-columns: 1fr 1fr;
  }

  .cart-page__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-page__coupon {
    flex-direction: column;
  }

  .cart-page__coupon .input-text {
    min-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .cart-item__bottom {
    grid-template-columns: 1fr;
  }

  .cart-item,
  .cart-summary,
  .cart-benefits,
  .cart-page__actions,
  .cart-empty-state {
    border-radius: 16px;
  }
}
/* MY ACCOUNT */
/* MY ACCOUNT LAYOUT */
/* =========================================================
   WOOCOMMERCE MY ACCOUNT — FLOAT RESET + FLEX LAYOUT FIX
   ========================================================= */

.woocommerce-account .woocommerce {
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* якщо тема або WooCommerce додає clearfix / after */
.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce-MyAccount-content::after,
.woocommerce-account .woocommerce-MyAccount-navigation::after {
  content: "";
  display: block;
  clear: both;
}

/* головний layout */
.woocommerce-account .entry-content > .woocommerce,
.woocommerce-account .site-main > .woocommerce,
.woocommerce-account .page-content > .woocommerce {
  display: flex !important;
  align-items: flex-start !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ліва колонка */
.woocommerce-account .woocommerce-MyAccount-navigation,
.account-nav {
  flex: 0 0 290px !important;
  width: 290px !important;
  min-width: 290px !important;
  max-width: 290px !important;

  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  padding: 18px;
  position: sticky;
  top: 20px;
  box-sizing: border-box;
}

/* права колонка */
.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* прибираємо агресивні загальні правила */
.woocommerce-account .woocommerce-MyAccount-content > div {
  width: auto;
  min-width: 0;
  max-width: 100%;
}

/* стилізація тільки конкретних блоків */
.account-dashboard,
.woocommerce-account .woocommerce-MyAccount-content > form,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Addresses,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-table,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  padding: 24px;
  box-sizing: border-box;
}

/* dashboard */
.account-dashboard {
  overflow: hidden;
}

.account-dashboard__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #081226 0%, #0e2f69 100%);
  color: #fff;
}

.account-dashboard__hero > * {
  min-width: 0;
}

.account-dashboard__hero h2 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 1.4rem + .8vw, 2.4rem);
  line-height: 1.1;
  font-weight: 800;
  word-break: break-word;
}

.account-dashboard__hero p {
  margin: 0;
  max-width: 60ch;
  color: rgba(255,255,255,.82);
  word-break: break-word;
}

.account-dashboard__shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.account-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.account-box {
  min-width: 0;
  padding: 18px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #f8fbff;
  overflow: hidden;
  box-sizing: border-box;
}

.account-box h3 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
  word-break: break-word;
}

.account-box p,
.account-orders-mini__item strong,
.account-orders-mini__item span,
.account-actions a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.account-orders-mini__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e7edf5;
}

.account-orders-mini__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.account-orders-mini__item strong,
.account-orders-mini__item em {
  display: block;
  color: #0f172a;
  font-style: normal;
  font-weight: 700;
}

.account-orders-mini__item span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
}

.account-actions {
  display: grid;
  gap: 10px;
}

.account-actions a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-weight: 600;
  text-decoration: none;
}

.account-actions a:hover {
  border-color: #bfd3ff;
  color: #1161ff;
  background: #fff;
}

/* nav list */
.woocommerce-account .woocommerce-MyAccount-navigation ul,
.account-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li + li,
.account-nav li + li {
  margin-top: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.account-nav li a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: #334155;
  font-weight: 600;
  text-decoration: none;
  transition: .2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.account-nav li.is-active a,
.account-nav li a:hover {
  background: #eef4ff;
  color: #1161ff;
}

/* форми */
.woocommerce-account .woocommerce-MyAccount-content input.input-text,
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content textarea,
.woocommerce-account .woocommerce-MyAccount-content select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  padding: 0 14px;
  box-sizing: border-box;
}

.woocommerce-account .woocommerce-MyAccount-content textarea {
  min-height: 120px;
  padding: 14px;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
  padding: 14px 12px;
  border-bottom: 1px solid #eef2f7;
  word-break: break-word;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
  color: #64748b;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* address blocks */
.woocommerce-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  min-width: 0;
  padding: 18px;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  background: #f8fbff;
  box-sizing: border-box;
}

/* responsive */
@media (max-width: 991.98px) {
  .woocommerce-account .entry-content > .woocommerce,
  .woocommerce-account .site-main > .woocommerce,
  .woocommerce-account .page-content > .woocommerce {
    flex-direction: column !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .account-nav {
    position: static;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
  }

  .account-dashboard__grid,
  .woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .account-dashboard,
  .woocommerce-account .woocommerce-MyAccount-content > form,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Addresses,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-orders-table,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-table,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
  .woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error {
    padding: 18px;
    border-radius: 16px;
  }

  .account-dashboard__hero {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .account-dashboard__shop-btn {
    width: 100%;
  }
}
/* SHOP / CATALOG GRID FIX */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  clear: none !important;
  min-width: 0 !important;
}

.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product.first,
.woocommerce-page ul.products li.product.last {
  clear: none !important;
}

@media (max-width: 1199.98px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 991.98px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575.98px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }
}



/* =========================================================
   REAL EMPTY CART FIX FOR CURRENT OUTPUT
   ========================================================= */

.woocommerce-cart .woocommerce {
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 32px 20px 56px !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .wc-empty-cart-message,
.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop,
.woocommerce-cart .cart-empty.woocommerce-info,
.woocommerce-cart .woocommerce-notices-wrapper {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .cart-empty,
.woocommerce-cart .cart-empty.woocommerce-info {
  margin-top: 20px !important;
  margin-bottom: 16px !important;
  padding: 28px 24px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06) !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.woocommerce-cart .return-to-shop {
  margin-top: 0 !important;
  margin-bottom: 32px !important;
}

.woocommerce-cart .return-to-shop .button,
.woocommerce-cart .return-to-shop .wc-backward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px !important;
  padding: 0 24px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #0b63f6, #2563eb) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border: 0 !important;
}

.woocommerce-cart .cross-sells,
.woocommerce-cart .cart-empty + .cross-sells,
.woocommerce-cart .return-to-shop + .cross-sells {
  max-width: 1320px !important;
  margin: 40px auto 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .cross-sells > h2 {
  margin: 0 0 24px !important;
  text-align: center !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.woocommerce-cart .cross-sells ul.products,
.woocommerce-cart .cross-sells .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px)) !important;
  justify-content: center !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
}

.woocommerce-cart .cross-sells ul.products li.product,
.woocommerce-cart .cross-sells .products li.product {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  clear: none !important;
}

.woocommerce-cart .cross-sells ul.products li.product img,
.woocommerce-cart .cross-sells .products li.product img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.woocommerce-cart .cross-sells * {
  box-sizing: border-box !important;
}

@media (max-width: 767.98px) {
  .woocommerce-cart .woocommerce {
    padding: 24px 16px 40px !important;
  }

  .woocommerce-cart .cart-empty,
  .woocommerce-cart .cart-empty.woocommerce-info {
    padding: 22px 18px !important;
    border-radius: 18px !important;
    font-size: 22px !important;
  }

  .woocommerce-cart .return-to-shop .button,
  .woocommerce-cart .return-to-shop .wc-backward {
    width: 100% !important;
  }

  .woocommerce-cart .cross-sells ul.products,
  .woocommerce-cart .cross-sells .products {
    grid-template-columns: 1fr !important;
  }
}

.woocommerce .site-main,
.woocommerce-page .site-main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 20px 56px;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .woocommerce .site-main,
  .woocommerce-page .site-main {
    padding: 24px 12px 40px;
  }
}

.shop-top-categories {
  margin: 0 0 28px;
}

.shop-top-categories__title {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
}

.shop-top-categories ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.shop-top-categories ul.products li.product-category {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.shop-top-categories ul.products li.product-category a {
  display: block;
  height: 100%;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
}

.shop-top-categories ul.products li.product-category img {
  width: 100%;
  height: auto;
  margin-bottom: 14px;
  border-radius: 14px;
}

.shop-top-categories ul.products li.product-category .woocommerce-loop-category__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.shop-top-categories ul.products li.product-category .count {
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .shop-top-categories ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 575.98px) {
  .shop-top-categories ul.products {
    grid-template-columns: 1fr !important;
  }
}


.shop-top-categories {
  margin: 0 0 28px;
}

.shop-top-categories__title {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.shop-top-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shop-top-categories__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.shop-top-categories__card:hover {
  transform: translateY(-2px);
  border-color: #c8d7ef;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.shop-top-categories__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.shop-top-categories__image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.shop-top-categories__name {
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.shop-top-categories__count {
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 1199.98px) {
  .shop-top-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .shop-top-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .shop-top-categories__grid {
    grid-template-columns: 1fr;
  }
}

.shop-top-categories {
  margin: 0 0 32px;
}

.shop-top-categories__title {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
}

.shop-top-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.shop-top-categories__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.shop-top-categories__card:hover {
  transform: translateY(-2px);
  border-color: #c8d7ef;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.shop-top-categories__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.shop-top-categories__image img {
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.shop-top-categories__content {
  padding: 16px 18px 18px;
}

.shop-top-categories__name {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.shop-top-categories__count {
  color: #64748b;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 1199.98px) {
  .shop-top-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .shop-top-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .shop-top-categories__grid {
    grid-template-columns: 1fr;
  }
}