/*!
Theme Name: thietbihoanthien
Theme URI: http://underscores.me/
Author: Nguyen Hoang
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: thietbihoanthien
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.

thietbihoanthien 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: inherit;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: inherit;
}

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


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


.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ===== HEADER TOP ===== */
.header-top {
	border-bottom: 1px solid #eee;
	padding: 12px 0;
}

.header-top .container {
	justify-content: space-between;
}

/* Logo */
.logo {
	text-transform: uppercase;
	font-weight: bold;
}

.logo img {
	height: 40px;
}

/* Search */
.search-box {
	flex: 1;
	display: flex;
	border-radius: 100vmax;
	border: 1px solid #3984be;
	overflow: hidden;
}

.search-box input {
	flex: 1;
	padding: 10px 12px;
	border-right: none;
	font-size: 14px;
	border: 0;
}

.search-box input:focus {
	outline: none;
}

.search-box button {
	padding: 0 20px;
	background: #3984be;
	color: #fff;
	border: 1px solid #3984be;
	font-weight: bold;
	cursor: pointer;
	height: 44px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 0;
}

/* Actions */
.header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 14px;
}

.btn-outline {
	padding: 0 20px;
	background: #fff;
	border: 1px solid #3984be;
	font-weight: bold;
	cursor: pointer;
	height: 44px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 0;
	color: #3984be;
}

.btn-popup-cart {
	display: flex;
	align-items: center;
	gap: 6px;
	border-radius: 100vmax;
}

.link {
	text-decoration: none;
	color: #000;
}

.highlight {
	font-weight: bold;
	color: #3984be;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* ===== NAV ===== */
.header-nav {
	background: #fff;
}


.header-nav .container {
	justify-content: flex-start;
	gap: 24px;
}

/* Category button */
.category-toggle {
	background: #f5f5f5;
	padding: 10px 16px;
	font-weight: bold;
	cursor: pointer;
	width: 200px;
}

/* Menu */
.menu {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	padding-left: 24px;
	max-width: calc(100% - 200px);
	padding-right: 24px;
}

.menu li a {
	text-decoration: none;
	color: #000;
	font-size: 14px;
	padding: 8px 8px;
}

.menu li a:hover {
	color: #3984be;
}

.menu .slick-arrow {
	position: absolute;
	top: 50%;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translateY(-50%);
}

.menu .slick-arrow img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.menu .slick-next.slick-arrow {
	left: auto;
	right: 0;
	transform: translateY(-50%) rotate(180deg);
}

/* ===== FLASH SALE ===== */

/* HEADER */
.flash-sale__header {
	display: flex;
	align-items: center;
	gap: 16px;
	border-bottom: 2px solid #3984be;
	padding-bottom: 12px;
	margin-bottom: 24px;
}

.flash-sale__title {
	font-size: 26px;
	font-weight: bold;
	color: #333;
}

.flash-sale__countdown {
	justify-self: center;
	background: #e50000;
	color: #fff;
	padding: 8px 16px;
	font-size: 22px;
	font-weight: bold;
	border-radius: 4px;
	justify-content: flex-start;
}

.flash-sale__note {
	font-size: 14px;
	color: #666;
	flex: 1;
	text-align: right;
}

/* LIST */
.flash-sale__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

/* CARD */
.product-card {
	position: relative;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 16px;
	background: #fff;
	text-align: center;
	transition: box-shadow .2s ease;
}

.product-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.product-hot {
	position: absolute;
	top: 12px;
	right: 12px;
	font-size: 18px;
}

/* IMAGE */
.product-image img {
	max-width: 100%;
	height: auto;
	margin-bottom: 12px;
	object-fit: cover;
}

/* TITLE */
.product-title {
	font-size: 14px;
	line-height: 1.4;
	min-height: 40px;
	margin: 8px 0;
	color: #333;
}

/* PRICE */

.price-new {
	font-size: 18px;
	font-weight: bold;
	color: #000;
}

/* DISCOUNT */
.product-discount {
	position: absolute;
	left: 16px;
	bottom: 70px;
	background: #ff3b30;
	color: #fff;
	font-size: 12px;
	padding: 4px 8px;
	border-radius: 12px;
}

/* BUTTON */
.btn-add-cart {
	width: 100%;
	padding: 10px 12px;
	border-radius: 0;
	border: 1px solid #3984be;
	background: #fff;
	color: #3984be;
	font-weight: bold;
	cursor: pointer;
	transition: all .2s ease;
}

.btn-add-cart:hover {
	background: #1e6bd6;
	color: #fff;
}

/* ===============================
   Grid layout
================================ */
.banner-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.banner-col {
	grid-column: span 12;
}

@media (min-width: 768px) {
	.banner-col {
		grid-column: span 6;
	}
}

/* ===============================
   Wrapper
================================ */
.banner-wrapper {
	position: relative;
}

/* ===============================
   Arrow buttons
================================ */
.banner-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;

	width: 36px;
	height: 36px;

	display: none;
	align-items: center;
	justify-content: center;

	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	cursor: pointer;
	opacity: 0;

	transition: all 0.3s ease;
}

.banner-wrapper:hover .banner-arrow {
	opacity: 1;
}

@media (min-width: 1024px) {
	.banner-arrow {
		display: flex;
	}
}

.banner-arrow-prev {
	left: 16px;
}

.banner-arrow-next {
	right: 16px;
}

.banner-arrow:hover {
	background-color: #fe0;
	border-color: #fe0;
}

/* ===============================
   Images
================================ */
.banner-image {
	width: 100%;
	height: auto;
	object-fit: contain;
	aspect-ratio: 354 / 120;
}

@media (min-width: 1024px) {
	.banner-image {
		aspect-ratio: 600 / 200;
	}
}

/* SECTION */
.product-section {
	max-width: 1300px;
	margin: 40px auto;
	padding: 0 16px;
}

/* TABS */
.product-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 40px;
}

.product-tabs .tab {
	padding: 10px 20px;
	border: 1.5px solid #3984be;
	background: #fff;
	color: #3984be;
	font-weight: bold;
	border-radius: 6px;
	cursor: pointer;
	transition: .2s;
}

.product-tabs .tab.active,
.product-tabs .tab:hover {
	background: #3984be;
	color: #fff;
}

/* GRID */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 40px 24px;
}

/* ITEM */
.product-item {
	position: relative;
	text-align: center;
}

/* NAME */
.product-name {
	font-size: 14px;
	line-height: 1.5;
	margin: 16px 0 8px;
	color: #000;
	min-height: 42px;
}

/* PRICE */
.product-price {
	padding-bottom: 0.5rem;
}

.product-price ins {
	color: #3984be;
	font-size: 16px;
	font-weight: bold;
	background-color: #fff0;
}

.product-price del {
	color: #b5b5b5;
	text-decoration: line-through;
	font-size: 1rem;
}


.price {
	color: #3984be;
	font-size: 16px;
	font-weight: bold;
}

/* SALE BADGE */
.sale-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #ff3b30;
	color: #fff;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 0;
}

/* BUTTON */
.btn-cart {
	width: 100%;
	padding: 10px 12px;
	border-radius: 0;
	border: 1px solid #3984be;
	background: #fff;
	color: #3984be;
	font-weight: bold;
	cursor: pointer;
	transition: all .2s ease;
	border-radius: 100vmax;
}

.btn-cart:hover {
	background: #3984be;
	color: #fff;
}

/* ===============================
   Section
================================ */
.home-news {
	padding: 24px 0;
}

.home-news-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* ===============================
   News card
================================ */
.news-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 2px;
}

.news-card-image-link {
	display: block;
	width: 100%;
	height: 100%;
}

.news-card-image {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 344 / 193;
}

@media (min-width: 1024px) {
	.news-card-image {
		aspect-ratio: 282 / 158;
	}
}

.news-card-content {
	padding: 10px;
	background-color: #ffffff;
}

.news-card-title {
	font-family: sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #000;
	line-height: 1.4;

	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===============================
   Swiper buttons
================================ */
.news-swiper-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;

	width: 40px;
	height: 40px;

	display: flex;
	align-items: center;
	justify-content: center;

	background-color: #fff;
	border-radius: 50%;
	cursor: pointer;

	box-shadow:
		0px 1px 2px rgba(60, 64, 67, 0.3),
		0px 2px 6px 2px rgba(60, 64, 67, 0.15);
}

.news-swiper-prev {
	left: 0;
	transform: translate(-16px, -50%);
}

.news-swiper-next {
	right: 0;
	transform: translate(16px, -50%);
}

@media (min-width: 1024px) {
	.news-swiper-btn {
		display: none;
	}
}

/* ===============================
   View all button
================================ */
.home-news-all-link {
	margin: 24px auto 0;
	display: flex;
	align-items: center;
	gap: 6px;

	padding: 8px 20px;
	border-radius: 2px;

	background-color: var(--primary, #3984be);
	color: #fff;

	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;

	transition: background-color 0.3s ease;
}

.home-news-all-link:hover {
	background-color: rgba(204, 0, 0, 0.9);
}


/* ===============================
   Section
================================ */
.home-news {
	padding-bottom: 40px;
}

@media (min-width: 1024px) {
	.home-news {
		padding-bottom: 80px;
	}
}

.home-news-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ===============================
   Header
================================ */
.home-news-header {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (min-width: 1024px) {
	.home-news-header {
		flex-direction: row;
		align-items: center;
	}
}

.home-news-title {
	font-family: sans-serif;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	color: #3984be;
	padding-left: 10px;
	border-left: 10px solid #3984be;
	margin: 0;
}

@media (min-width: 1024px) {
	.home-news-title {
		font-size: 28px;
		width: 20%;
	}
}

/* ===============================
   Tabs
================================ */
.home-news-tab-list {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	width: 100%;
}

.home-news-tab-item {
	flex: 1;
	min-width: 150px;
}

.home-news-tab-button {
	width: 100%;
	padding: 10px 12px;
	border-radius: 0;
	border: 1px solid #3984be;
	background: #fff;
	color: #3984be;
	font-weight: bold;
	cursor: pointer;
	transition: all .2s ease;
	white-space: nowrap;
}

.home-news-tab-button:hover,
.home-news-tab-button.is-active {
	background: #3984be;
	color: #fff;
}

/* ===============================
   Content
================================ */
.home-news-content {
	position: relative;
}

/* Loading */
.home-news-loading {
	display: none;
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.5);
	z-index: 10;
	align-items: center;
	justify-content: center;
}

.home-news-spinner {
	width: 40px;
	height: 40px;
	border: 4px solid #3984be;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

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

.home-news-error {
	text-align: center;
	color: red;
	padding: 16px 0;
}

/* ===============================
   Card
================================ */
.news-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 4px;
	background: #fff;
}

.news-card-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 344 / 193;
}

@media (min-width: 1024px) {
	.news-card-image img {
		aspect-ratio: 282 / 158;
	}
}

.news-card-body {
	padding: 10px;
}

.news-card-title {
	font-size: 16px;
	font-weight: 700;
	color: #000;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===============================
   Navigation (mobile)
================================ */
.home-news-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(60, 64, 67, .3),
		0 2px 6px rgba(60, 64, 67, .15);
	z-index: 10;
}

.home-news-nav-prev {
	left: -16px;
}

.home-news-nav-next {
	right: -16px;
}

@media (min-width: 1024px) {
	.home-news-nav {
		display: none;
	}
}

/* ===============================
   View all
================================ */
.home-news-view-all {
	width: 100%;
	padding: 0 0.5rem 0 1.5rem;
	border-radius: 0;
	border: 1px solid #3984be;
	font-weight: bold;
	cursor: pointer;
	transition: all .2s ease;
	white-space: nowrap;
	background: #3984be;
	color: #fff;
	max-width: 160px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 48px;
	border-radius: 100vmax;
}

.home-news-view-all:hover {
	opacity: 0.9;
}

.home-news-swiper-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-left: -16px;
	margin-right: -16px;
}

.home-news-swiper-slide {
	width: 25%;
	padding: 16px;
}

.home-news-tabs {
	display: flex;
	flex-flow: column;
	justify-content: center;
}

.footer {
	background: #1a1a1a;
	color: #fff;
	/* LEFT */
	/* RIGHT */
	/* BOTTOM */
}

.footer a {
	color: inherit;
	text-decoration: none;
}


.footer__top {
	padding: 40px 0;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

@media (min-width: 1024px) {
	.footer__grid {
		grid-template-columns: 4fr 8fr;
	}
}

.footer__logo img {
	width: 292px;
	height: auto;
}

.footer__company-name {
	font-weight: 700;
	margin-top: 16px;
}

.footer__info {
	margin-top: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer__info li {
	font-size: 14px;
	margin-bottom: 8px;
	line-height: 1.5;
}

.footer__social {
	margin-top: 16px;
}

.footer__social ul {
	display: flex;
	gap: 8px;
	padding: 0;
	margin: 8px 0 0 0;
	list-style: none;
}

.footer__social ul img {
	width: 32px;
	height: 32px;
}

.footer__title {
	font-weight: 700;
	margin-bottom: 16px;
}

.footer__menus {
	margin-top: 32px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px;
}

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

.footer__menu h4 {
	font-weight: 700;
	border-bottom: 1px solid #fff;
	padding-bottom: 8px;
	margin-bottom: 12px;
}

.footer__menu ul li {
	margin-bottom: 6px;
}

.footer__menu ul li a {
	font-size: 14px;
	opacity: 0.9;
}

.footer__menu ul li a:hover {
	opacity: 1;
	text-decoration: underline;
}

.footer__menu--policy ul {
	columns: 2;
	column-gap: 20px;
}

.footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .3);
	text-align: center;
	padding: 16px;
	font-size: 14px;
}

#popup-cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: 0.3s;
	z-index: 9998;
}

#popup-cart {
	position: fixed;
	top: 0;
	right: -400px;
	width: 360px;
	height: 100%;
	background: #fff;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	transition: 0.3s;
}

#popup-cart.active {
	right: 0;
}

#popup-cart-overlay.active {
	opacity: 1;
	visibility: visible;
}

.popup-cart__header {
	padding: 16px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.popup-cart__close {
	font-size: 24px;
	background: none;
	border: none;
	cursor: pointer;
}

.popup-cart__content {
	flex: 1;
	overflow-y: auto;
	padding: 16px;
}

.popup-cart__footer {
	padding: 16px;
	border-top: 1px solid #eee;
	display: flex;
	gap: 10px;
}

.popup-cart__footer a {
	flex: 1;
	text-align: center;
	text-decoration: none;
}

.btn-view-cart {
	background: #666;
}

.btn-checkout {
	background: #d6001c;
}

span.cart-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 16px;
	height: 16px;
}

span.cart-icon svg {
	width: 16px;
	height: 16px;
}

span.cart-icon span {
	position: absolute;
	bottom: 100%;
	left: 100%;
	color: #fff;
	width: 16px;
	height: 16px;
	background: #3984be;
	border-radius: 100vmax;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 8px;
	transform: translateY(50%);
}

section.hero-banner {
	margin-top: 0 !important;
}

/* --- Shop Category Box --- */
.shop-category-box {
	border: 1.5px solid #eee;
	border-radius: 18px;
	padding: 24px;
	margin-bottom: 32px;
	background: #fff;
	box-shadow: 0 2px 12px rgba(57, 132, 190, 0.04);
}

.shop-category-title {
	color: #3984be;
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 28px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.shop-category-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.shop-category-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 12.5%;
	text-align: center;
	text-decoration: none;
	color: #222;
	transition: transform 0.2s, box-shadow 0.2s;
	border-radius: 12px;
	padding: 12px;
}

.shop-category-item:hover {
	color: #3984be;
	background: #f5faff;
	box-shadow: 0 4px 16px rgba(57, 132, 190, 0.08);
	transform: translateY(-4px) scale(1.04);
}

.shop-category-thumb {
	width: 90px;
	height: 90px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #eee;
}

.shop-category-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	background: #fff;
}

.shop-category-name {
	font-size: 15px;
	font-weight: 500;
	margin-top: 6px;
	color: inherit;
	line-height: 1.3;
}

/* --- Shop Filter Bar --- */
.shop-filter-bar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 32px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.shop-filter-sort {
	display: flex;
	align-items: center;
	gap: 6px;
}

.shop-filter-label {
	font-size: 16px;
	color: #222;
	margin-right: 4px;
}

.shop-filter-btn {
	background: #fff;
	border: 1.5px solid #ddd;
	color: #222;
	font-size: 15px;
	padding: 4px 14px;
	border-radius: 5px;
	margin-right: 2px;
	cursor: pointer;
	transition: all 0.15s;
}

.shop-filter-btn.active,
.shop-filter-btn:hover {
	background: #3984be;
	color: #fff;
	border-color: #3984be;
}

.shop-filter-view {
	display: flex;
	align-items: center;
	gap: 4px;
}

.shop-filter-select {
	border: 1.5px solid #ddd;
	border-radius: 5px;
	padding: 4px 10px;
	font-size: 15px;
	color: #222;
	background: #fff;
	margin-left: 2px;
}

.shop-content-products {
	padding-top: 1rem;
	padding-bottom: 4rem;
}

.popup-cart__content ul {
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
}

.woocommerce-mini-cart-item.mini_cart_item .remove.remove_from_cart_button {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 22px;
}

.woocommerce-mini-cart-item.mini_cart_item {
	position: relative;
	display: flex;
}

.woocommerce-mini-cart-item.mini_cart_item a {
	display: flex;
}

.woocommerce-mini-cart-item.mini_cart_item .quantity {
	position: absolute;
	bottom: 0;
	right: 0;
}

.woocommerce-mini-cart-item.mini_cart_item .woocommerce-Price-amount.amount {
	color: #3984be;
	font-size: 16px;
	font-weight: bold;
}

.woocommerce-mini-cart-item.mini_cart_item img {
	width: 80px;
	height: 80px;
	margin-right: 16px;
}

.woocommerce-mini-cart-item.mini_cart_item .remove.remove_from_cart_button+a {
	width: 100%;
	font-weight: bold;
}

.popup-cart__content {
	display: flex;
	flex-flow: column;
}

.woocommerce-mini-cart__total.total {
	margin: 0;
}

p.woocommerce-mini-cart__buttons.buttons {
	margin: 12px 0 0;
}

.btn-view-cart {
	padding: 10px 0;
	border: 1px solid #3984be;
	background: #fff;
	color: #3984be;
	font-weight: bold;
	cursor: pointer;
	transition: all .2s ease;
	border-radius: 100vmax;

}

.btn-checkout,
.wc-block-components-button {
	padding: 10px 0;
	border: 1px solid #3984be;
	background: #3984be;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	transition: all .2s ease;
	border-radius: 100vmax;
}

.wc-block-components-product-price {
	display: flex !important;
	flex-flow: column;
}

span.wc-block-components-order-summary-item__individual-prices.price del.wc-block-components-product-price__regular.wc-block-components-order-summary-item__regular-individual-price {
	font-weight: normal;
	color: #b5b5b5;
}

.wc-block-components-product-price ins {
	background-color: #fff0;
	margin: 0 !important;
}

.wc-block-components-product-metadata__description {
	display: none;
}

/* Popup modal review */
.review-modal {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.review-modal-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.4);
}

.review-modal-content {
	position: relative;
	background: #fff;
	border-radius: 8px;
	padding: 24px 18px 18px 18px;
	max-width: 600px;
	width: 95vw;
	z-index: 2;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.review-modal-close {
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	font-size: 2rem;
	color: #888;
	cursor: pointer;
	padding: 0;
	line-height: -0.8em;
}

.btn-review-modal {
	margin: 16px 0 24px 0;
	padding: 10px 22px;
	background: #3984be;
	color: #fff;
	border: none;
	border-radius: 100vmax;
	font-weight: bold;
	cursor: pointer;
}

.btn-review-modal:hover {
	background: #24649a;
}

.form-group {
	margin-bottom: 16px;
}

.review-stars {
	font-size: 1.6rem;
	color: #ccc;
	cursor: pointer;
}

.review-stars .star.selected~.star {
	color: #ccc;
}

.review-stars .star.selected,
.review-stars .star:hover {
	color: #f5b301 !important;
}

#review-image-preview {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 8px;
}

#review-image-preview img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #eee;
}

#review-form-message {
	margin-top: 10px;
	color: #c00;
	font-size: 15px;
}

@media (max-width: 600px) {
	.review-modal-content {
		max-width: 98vw;
		padding: 12px 4vw;
	}

	.btn-review-modal {
		width: 100%;
	}
}

.review-dropzone {
	border: 2px dashed #3984be;
	border-radius: 10px;
	padding: 28px 10px;
	text-align: center;
	background: #f8fbff;
	color: #3984be;
	cursor: pointer;
	position: relative;
	transition: border-color 0.2s, background 0.2s;
	margin-bottom: 10px;
}

.review-dropzone.dragover {
	border-color: #24649a;
	background: #e6f1fa;
}

.review-dropzone .dz-icon {
	font-size: 2.2rem;
	display: block;
	margin-bottom: 6px;
}

.review-dropzone .dz-browse {
	color: #24649a;
	text-decoration: underline;
	cursor: pointer;
}

.dz-preview-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.dz-preview-list .dz-preview-img {
	position: relative;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
	border: 1.5px solid #eee;
	background: #fff;
}

.dz-preview-list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dz-preview-list .dz-remove {
	position: absolute;
	top: 2px;
	right: 2px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	font-size: 13px;
	cursor: pointer;
	line-height: 16px;
	text-align: center;
	padding: 0;
}

@media (max-width: 600px) {
	.dz-preview-list {
		gap: 6px;
	}

	.dz-preview-list .dz-preview-img {
		width: 48px;
		height: 48px;
	}
}

.btn-submit-review {
	display: flex;
	background: #3984be;
	color: #fff;
	font-weight: bold;
	padding: 10px 24px;
	margin-top: 10px;
	font-size: 1.1rem;
	text-decoration: none;
	transition: background 0.2s;
	border-radius: 100vmax;
	max-width: 200px;
	margin: 0 auto;
}

#review-form label {
	margin-bottom: 12px;
	display: block;
}

.review-modal h2 {
	margin: 0 0 1rem;
}

#review-form .review-stars {
	margin-top: -12px;
}

.search-box-wrapper {
	position: relative;
	flex: 1;
	margin: 0 24px;
	max-width: 520px;
}

.search-dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: 110%;
	background: #fff;
	border: 1.5px solid #eee;
	border-radius: 8px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
	z-index: 99;
	max-height: 340px;
	overflow-y: auto;
	padding: 0;
}

.search-dropdown .search-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	cursor: pointer;
	border-bottom: 1px solid #f3f3f3;
	transition: background 0.15s;
}

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

.search-dropdown .search-item:hover {
	background: #f5faff;
}

.search-dropdown .search-thumb img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 6px;
	border: 1px solid #eee;
}

.search-dropdown .search-info {
	flex: 1;
	min-width: 0;
}

.search-dropdown .search-title {
	font-size: 15px;
	font-weight: 500;
	color: #222;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.search-dropdown .search-price {
	color: #3984be;
	font-weight: bold;
	font-size: 14px;
}

.search-dropdown .search-loading,
.search-dropdown .search-noresult {
	padding: 16px 14px;
	color: #888;
	text-align: center;
	font-size: 15px;
}

.blog-title {
	color: #3984be;
	font-weight: 700;
	margin-bottom: 20px;
}

/* FEATURED */
.blog-featured {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
}

.featured-main img {
	width: 100%;
	border-radius: 6px;
}

.featured-main h2 {
	font-size: 22px;
	margin: 10px 0;
}

.featured-side .side-item {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.featured-side img {
	width: 120px;
	border-radius: 4px;
}

/* TAB */
.blog-tabs {
	margin: 0 0 30px;
}

.blog-tabs a {
	padding: 8px 20px;
	border: none;
	font-weight: 600;
	width: 100%;
	display: flex;
	border-radius: 0.5rem;
	margin-bottom: 0.25rem;
}

.blog-tabs a.active {
	background: #3984be;
	color: #fff;
}

/* GRID */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}

.blog-item img {
	width: 100%;
	border-radius: 6px;
}

.blog-item h3 {
	font-size: 16px;
	margin: 8px 0;
}

/* PAGINATION */
.pagination {
	margin-top: 30px;
	text-align: center;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid #ddd;
	margin: 0 3px;
}

.pagination .current {
	background: #c00;
	color: #fff;
}

.blog-inner {
	display: flex;
	gap: 30px;
	padding-top: 2rem;
	margin-top: 2rem;
	border-top: 1px solid #eee;
}

.blog-sidebar {
	flex: 1 1 0;
	max-width: 240px;
}

.blog-inner-content {
	flex: 3 1 0;
}

.post-container {
	padding-top: 20px;
	padding-bottom: 60px;
}

.post-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 15px;
}

.post-meta {
	display: flex;
	justify-content: space-between;
	background: #f4f4f4;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 25px;
	font-size: 14px;
}

.post-layout {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 30px;
}

/* CONTENT */
.post-excerpt {
	margin-bottom: 20px;
	line-height: 1.7;
}

.post-toc {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 15px;
	margin-bottom: 25px;
}

.toc-title {
	font-weight: 600;
	margin-bottom: 10px;
}

.post-body h2,
.post-body h3 {
	margin-top: 30px;
}

/* SIDEBAR */
.post-sidebar {
	border-left: 1px solid #eee;
	padding-left: 20px;
}

.sidebar-title {
	color: #d40000;
	font-weight: 700;
	margin-bottom: 15px;
	position: relative;
}

.sidebar-title::before {
	content: "";
	width: 4px;
	height: 20px;
	background: #d40000;
	position: absolute;
	left: -10px;
	top: 3px;
}

.post-sidebar ul {
	list-style: none;
	padding: 0;
}

.post-sidebar li {
	border-bottom: 1px solid #eee;
}

.post-sidebar a {
	display: block;
	padding: 10px 0;
	color: #333;
}

div#toc ul {
	margin: 0;
	padding: 0 0 0 24px;
}


div#toc ul li {
	padding-left: 0;
}

.post-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.post-sidebar li {
	padding: 0;
}

.related-posts {
	margin-top: 40px;
	border-radius: 8px;
}

.related-title {
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 20px;
	color: #222;
}

.related-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.related-item {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	width: calc(25% - 15px);
	min-width: 200px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: box-shadow 0.2s;
}

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

.related-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4/3;
	background: #eee;
	overflow: hidden;
}

.related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.no-thumb {
	width: 100%;
	height: 100px;
	background: #ddd;
}

.related-info {
	padding: 12px 14px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.related-link {
	font-size: 1rem;
	font-weight: 500;
	color: #1a202c;
	text-decoration: none;
	margin-bottom: 8px;
	display: block;
	transition: color 0.2s;
}

.related-link:hover {
	color: #0073aa;
}

.related-date {
	font-size: 0.9rem;
	color: #888;
}

@media (max-width: 900px) {
	.related-list {
		flex-direction: column;
		gap: 16px;
	}

	.related-item {
		width: 100%;
		min-width: 0;
	}
}

.catalog-checkbox-label {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
}
.catalog-checkbox {
    display: none;
}
.catalog-checkbox-custom {
    width: 22px; height: 22px;
    border: 2px solid #3984be;
    border-radius: 4px;
    background: #fff;
    display: inline-block;
    position: relative;
    margin-right: 4px;
}
.catalog-checkbox:checked + .catalog-checkbox-custom {
    background: #3984be;
    border-color: #3984be;
}
.catalog-checkbox:checked + .catalog-checkbox-custom:after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 6px; height: 12px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.catalog-item {
    position: relative;
}
.catalog-actions {
    text-align: right;
    margin-bottom: 12px;
}
.btn-view-selected {
    background: #3984be;
    color: #fff;
    border: none;
    border-radius: 100vmax;
    padding: 8px 18px;
    font-weight: bold;
    cursor: pointer;
}
.catalog-modal {
    position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
    z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.catalog-modal-overlay {
    position: absolute; left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
}
.catalog-modal-content {
    position: relative; background: #fff; border-radius: 8px;
    padding: 24px 18px 18px 18px; max-width: 500px; width: 95vw; z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.catalog-modal-close {
    position: absolute; right: 12px; top: 10px; background: none; border: none;
    font-size: 2rem; color: #888; cursor: pointer;
}
#selected-products-list {
    margin-top: 18px;
    display: flex; flex-wrap: wrap; gap: 16px;
}
#selected-products-list .selected-product-item {
    width: 100px; text-align: center;
}
#selected-products-list img {
    width: 100%; height: 80px; object-fit: contain; border-radius: 6px; background: #f8f8f8;
}