/*
Theme Name: 雪茄商城
Theme URI: https://cigarhomeshop.com
Description: 雪茄商城前台。页面和商品仍在后台修改。
Template: twentytwentyfive
Version: 1.0.40
Text Domain: cigarhomeshop
*/

body {
	background: #1c140e;
	color: #f3ece3;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.home .wp-block-post-title {
	display: none;
}

#cigar-age .cigar-age-card,
#cigar-age .cigar-age-card h1,
#cigar-age .cigar-age-card h2,
#cigar-age .cigar-age-card h3,
#cigar-age .cigar-age-card p,
#cigar-age .cigar-age-card .wp-block-heading {
	color: #1c140e !important;
}

.wp-site-blocks > * + * {
	margin-block-start: 0 !important;
}

.home .entry-content.has-global-padding {
	padding-top: 0 !important;
}

.cigar-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #1c140e;
	border-bottom: 1px solid rgba(196, 165, 116, 0.45);
}

.cigar-header .wp-block-site-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 500;
	letter-spacing: 0.2em;
}

.cigar-header .wp-block-site-logo {
	line-height: 0;
	width: auto;
}

.cigar-header .custom-logo-link {
	display: block;
	line-height: 0;
}

.cigar-header .cigar-brand-name {
	display: none;
}

.cigar-header .custom-logo {
	display: block;
	width: auto !important;
	height: 108px !important;
	max-width: 420px;
	object-fit: contain;
}

@media (max-width: 1100px) {
	.cigar-header .custom-logo {
		height: 86px !important;
	}
}

@media (max-width: 700px) {
	.cigar-header .custom-logo {
		height: 64px !important;
		max-width: 70vw;
	}
}

.cigar-header .wp-block-site-title a,
.cigar-nav .wp-block-navigation-item__content,
.cigar-header .wp-block-navigation__responsive-container-open,
.cigar-header .wp-block-navigation__responsive-container-close {
	color: #f6f1e8;
	text-decoration: none;
}

.cigar-header .wp-block-site-title a,
.cigar-nav .wp-block-navigation-item__content,
.cigar-footer a {
	transition: color 0.22s ease;
}

.cigar-nav .wp-block-navigation-item__content {
	position: relative;
}

.cigar-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 1px;
	background: #c4a574;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.22s ease;
}

.cigar-nav .wp-block-navigation-item__content:hover,
.cigar-header .wp-block-site-title a:hover {
	color: #e0c79a;
}

.cigar-nav .wp-block-navigation-item__content:hover::after,
.cigar-nav .current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.cigar-header-bar {
	flex-wrap: nowrap;
	gap: 18px;
}

.cigar-header .wp-block-site-logo,
.cigar-header-tools {
	flex: 0 0 auto;
}

.cigar-header .cigar-nav {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
}

.cigar-header .wp-block-navigation,
.cigar-nav .wp-block-navigation__container {
	justify-content: center;
	flex-wrap: nowrap;
}

.cigar-header-tools {
	gap: 8px;
}

.cigar-lang {
	display: flex;
	align-items: center;
	margin: 0;
}

.cigar-lang select {
	max-width: 9em;
	margin: 0;
	padding: 0 18px 0 2px;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23f6f1e8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right center / 10px 7px no-repeat;
	color: #f6f1e8;
	font-size: 15px;
	line-height: 36px;
	cursor: pointer;
	appearance: none;
}

.cigar-lang select:focus {
	outline: 1px solid #c4a574;
	outline-offset: 2px;
}

.cigar-lang option {
	color: #1c140e;
}

.cigar-header .wp-block-search {
	align-self: center;
	width: 148px;
	max-width: 148px;
}

@media (max-width: 1100px) {
	.cigar-header .cigar-header-bar {
		flex-wrap: wrap;
	}

	.cigar-header .cigar-nav {
		flex: 1 1 100%;
		order: 3;
	}
}

.cigar-header .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	height: 36px;
	overflow: hidden;
	border: 1px solid rgba(243, 236, 227, 0.35);
	border-radius: 999px;
	background: transparent;
	transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.cigar-header .wp-block-search__inside-wrapper:hover,
.cigar-header .wp-block-search__inside-wrapper:focus-within {
	border-color: #c4a574;
	box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.16);
}

.cigar-header .wp-block-search__input {
	flex: 1 1 auto;
	align-self: stretch;
	width: auto;
	height: auto;
	min-width: 0;
	margin: 0;
	background: transparent;
	color: #f6f1e8;
	border: 0;
	font-size: 13px;
	line-height: 1.2;
	padding: 0 8px;
}

.cigar-header .wp-block-search__input::placeholder {
	color: rgba(243, 236, 227, 0.62);
}

.cigar-header .wp-block-search__button {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	min-width: 32px;
	height: 32px;
	margin: 0 2px 0 0;
	padding: 0;
	line-height: 0;
	background: transparent;
	color: #f6f1e8;
	border: 0;
}

.cigar-header .wp-block-search__button svg {
	display: block;
	width: 18px;
	height: 18px;
}

.cigar-header .wc-block-customer-account__account-icon,
.cigar-header .wc-block-mini-cart__icon {
	color: #f6f1e8;
	fill: #f6f1e8;
}

.cigar-header .wc-block-mini-cart__badge {
	background: #c4a574;
	color: #1c140e;
}

.cigar-header .wc-block-customer-account a,
.cigar-header .wc-block-mini-cart__button,
.cigar-header .wp-block-search__button {
	transition: transform 0.22s ease, opacity 0.22s ease;
}

.cigar-header .wc-block-customer-account a:hover,
.cigar-header .wc-block-mini-cart__button:hover {
	transform: translateY(-1px);
	opacity: 0.82;
}

.cigar-header .wp-block-search__button:hover,
.cigar-header .wp-block-search__button:active {
	transform: none;
	box-shadow: none;
	opacity: 0.82;
}

@property --cigar-gx {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 38%;
}

@property --cigar-gy {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 28%;
}

@keyframes cigar-gradient-shift {
	0% { --cigar-gx: 38%; --cigar-gy: 28%; }
	33% { --cigar-gx: 68%; --cigar-gy: 48%; }
	66% { --cigar-gx: 26%; --cigar-gy: 64%; }
	100% { --cigar-gx: 38%; --cigar-gy: 28%; }
}

@keyframes cigar-hero-drift {
	from { transform: scale(1); }
	to { transform: scale(1.08); }
}

@keyframes cigar-hero-rise {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

.cigar-hero {
	min-height: 78vh !important;
	overflow: hidden;
}

.home main > .wp-block-group.alignfull {
	padding-top: 0 !important;
}

.home .entry-content {
	margin-top: 0;
}

.cigar-hero .wp-block-cover__inner-container {
	max-width: 1100px;
	animation: cigar-hero-rise 1s ease both;
}

.cigar-hero .wp-block-cover__image-background {
	animation: cigar-hero-drift 18s ease-in-out infinite alternate;
	transform-origin: center center;
}

.cigar-hero h1.wp-block-heading {
	font-size: clamp(3rem, 8vw, 6.4rem);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 0.95;
	text-align: center;
	color: transparent;
	background-image: radial-gradient(80% 120% at var(--cigar-gx) var(--cigar-gy), #fff6e4 0%, #f0d7a2 42%, #c47a32 90%);
	-webkit-background-clip: text;
	background-clip: text;
	animation: cigar-gradient-shift 7s ease-in-out infinite;
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

@media (prefers-reduced-motion: reduce) {
	.cigar-hero .wp-block-cover__image-background,
	.cigar-hero .wp-block-cover__inner-container,
	.cigar-hero h1 {
		animation: none;
	}

	.cigar-hero h1.wp-block-heading {
		color: #f6f1e8;
		background: none;
		filter: none;
	}
}

.cigar-hero p {
	color: #f3ece3;
	letter-spacing: 0.12em;
}

.cigar-notes p {
	text-wrap: balance;
}

.cigar-news .wp-block-post-title,
.cigar-news .wp-block-post-title a,
.cigar-news .wp-block-post-date,
.cigar-news .wp-block-post-excerpt,
.cigar-news .wp-block-post-excerpt p,
.single-post .wp-block-post-title,
.single-post .wp-block-post-date,
.single-post .wp-block-post-content,
.single-post .wp-block-post-content p {
	color: #f3ece3;
}

.cigar-news .wp-block-post-title {
	margin-bottom: 0.35rem;
}

.cigar-news .wp-block-post-template {
	display: grid;
	gap: 18px;
	margin-top: 28px;
}

.cigar-news .cigar-news-card {
	display: grid !important;
	grid-template-columns: 240px minmax(0, 1fr) auto;
	grid-template-areas:
		"img title date"
		"img excerpt date"
		"img more date";
	column-gap: 22px;
	row-gap: 8px;
	align-items: start;
	margin: 0;
	padding: 16px;
	background: #241c16;
	border: 1px solid rgba(196, 165, 116, 0.28);
}

.cigar-news .cigar-news-card .wp-block-post-featured-image {
	grid-area: img;
	margin: 0;
	align-self: stretch;
}

.cigar-news .cigar-news-card .wp-block-post-featured-image a {
	display: block;
}

.cigar-news .cigar-news-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 168px;
	object-fit: cover;
}

.cigar-news .cigar-news-card .wp-block-post-title {
	grid-area: title;
	margin: 0;
	letter-spacing: 0;
	font-size: 1.15rem;
	line-height: 1.45;
}

.cigar-news .cigar-news-card .wp-block-post-excerpt {
	grid-area: excerpt;
	margin: 0;
}

.cigar-news .cigar-news-card .wp-block-post-excerpt__more-link {
	display: none;
}

.cigar-news .cigar-news-card .wp-block-post-date {
	grid-area: date;
	margin: 0;
	color: rgba(243, 236, 227, 0.62);
	font-size: 14px;
	white-space: nowrap;
}

.cigar-news .cigar-news-card .wp-block-read-more {
	grid-area: more;
	justify-self: start;
	display: inline-block;
	margin-top: 4px;
	padding: 6px 16px;
	border: 1px solid #c4a574;
	color: #f6f1e8;
	text-decoration: none;
	font-size: 14px;
	line-height: 1.4;
}

.cigar-news .cigar-news-card .wp-block-read-more:hover {
	color: #1c140e;
	background: #c4a574;
}

.cigar-news .wp-block-query-pagination {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 28px;
}

.cigar-news .wp-block-query-pagination a {
	color: #f3ece3;
}

@media (max-width: 700px) {
	.cigar-news .cigar-news-card {
		grid-template-columns: 1fr;
		grid-template-areas:
			"img"
			"title"
			"date"
			"excerpt"
			"more";
	}

	.cigar-news .cigar-news-card .wp-block-post-featured-image img {
		height: 200px;
	}
}

.single-post .cigar-article-image {
	margin: 8px 0 28px;
}

.single-post .cigar-article-image img {
	display: block;
	width: 100%;
	max-height: 460px;
	object-fit: cover;
}

.error404 main .wp-block-heading,
.error404 main p {
	color: #f6f1e8;
}

.wp-block-post-content > h2,
.wp-block-post-content .wp-block-heading {
	text-align: center;
	font-weight: 500;
	letter-spacing: 0.18em;
	color: #f6f1e8;
}

.home .wp-block-post-content > h2::after,
.home .alignwide > h2::after {
	content: "";
	display: block;
	width: 42px;
	height: 1px;
	margin: 14px auto 0;
	background: #c4a574;
}

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin: 8px 0 0 !important;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 18px;
	background: #fffdf8;
	border-radius: 10px;
	overflow: hidden;
	text-align: left;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 !important;
	transition: transform 0.45s ease;
}

.woocommerce ul.products li.product:hover img {
	transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
	padding: 14px 16px 0 !important;
	font-size: 1rem;
	line-height: 1.45;
	color: #1c140e;
	font-weight: 500;
}

.woocommerce ul.products li.product .price {
	display: block;
	padding: 6px 16px 0;
	color: #8a6230 !important;
	font-size: 0.98rem;
}

.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price ins {
	color: #8a6230;
}

.woocommerce ul.products li.product .button {
	margin: 12px 16px 0 !important;
	padding: 0 0 2px;
	background: transparent !important;
	color: #8c6a3f !important;
	border: 0;
	border-bottom: 1px solid #c4a574;
	border-radius: 0;
	font-size: 0.92rem;
	line-height: 1.4;
	box-shadow: none !important;
	transform: none !important;
	transition: color 0.22s ease, border-color 0.22s ease;
}

.woocommerce ul.products li.product .button:hover {
	background: transparent !important;
	color: #1c140e !important;
	border-bottom-color: #1c140e;
	box-shadow: none !important;
	transform: none !important;
}

.woocommerce ul.products li.product-category mark,
.woocommerce ul.products li.product-category .count {
	background: transparent;
	color: #6f5844;
	font-weight: 400;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce-products-header,
.woocommerce-breadcrumb {
	color: #d9cbb8;
}

.woocommerce-products-header__title,
.woocommerce-breadcrumb a {
	color: #f6f1e8;
}

.woocommerce-ordering select,
.woocommerce-product-search input[type="search"] {
	background: #2a211b;
	color: #f3ece3;
	border: 1px solid #4a3b2e;
	border-radius: 4px;
}

.archive .woocommerce,
.tax-product_cat .woocommerce,
.single-product .woocommerce {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.single-product div.product {
	background: #fffdf8;
	color: #1c140e;
	padding: 28px;
	border-radius: 12px;
}

.single-product h1,
.single-product .wp-block-post-title,
.single-product div.product .product_title,
.single-product div.product .woocommerce-product-details__short-description,
.single-product div.product .product_meta,
.single-product div.product .product_meta a,
.single-product div.product .woocommerce-tabs,
.single-product div.product .woocommerce-tabs .panel,
.single-product div.product .woocommerce-tabs .panel p {
	color: #1c140e !important;
}

.single-product .woocommerce-breadcrumb,
.single-product .woocommerce-breadcrumb a {
	color: #3a2c22 !important;
}

.single-product div.product .product_title {
	letter-spacing: 0.06em;
}

.single-product .wp-block-group.product :is(h1, h2, h3, h4),
.single-product div.product :is(h1, h2, h3, h4),
.woocommerce-cart .wp-block-post-content :is(h1, h2, h3, h4),
.woocommerce-checkout .wp-block-post-content :is(h1, h2, h3, h4),
.woocommerce-account .wp-block-post-content :is(h1, h2, h3, h4),
.woocommerce-cart .entry-content :is(h1, h2, h3, h4),
.woocommerce-checkout .entry-content :is(h1, h2, h3, h4),
.woocommerce-account .entry-content :is(h1, h2, h3, h4) {
	color: #1c140e !important;
}

.single-product div.product p.price,
.single-product div.product span.price {
	color: #8a6230;
	font-size: 1.7rem;
}

.single-product div.product .woocommerce-product-details__short-description,
.single-product div.product .woocommerce-tabs,
.single-product div.product table.shop_attributes,
.single-product div.product table.shop_attributes th,
.single-product div.product table.shop_attributes td {
	color: #3a2c22;
}

.single-product div.product form.cart .button {
	background: #1c140e !important;
	color: #f6f1e8 !important;
	border: 0;
	border-radius: 2px;
	padding: 14px 28px;
}

.single-product div.product form.cart .button:hover {
	background: #c4a574 !important;
	color: #1c140e !important;
}

.single-product div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 16px;
}

.single-product div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
}

.single-product div.product .woocommerce-tabs ul.tabs li a {
	color: #1c140e !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li.active a,
.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
	color: #8a6230 !important;
}

.single-product div.product .woocommerce-tabs .panel {
	background: transparent;
}

.related.products > h2 {
	color: #f6f1e8;
	text-align: center;
	letter-spacing: 0.18em;
	font-weight: 500;
}

.woocommerce-cart .wp-block-post-content,
.woocommerce-checkout .wp-block-post-content,
.woocommerce-account .wp-block-post-content,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
	background: #f4efe6;
	color: #1c140e;
	border-radius: 12px;
	padding: 28px;
}

.woocommerce-cart .wp-block-post-content a,
.woocommerce-checkout .wp-block-post-content a,
.woocommerce-account .wp-block-post-content a {
	color: #1c140e;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	display: inline-block;
	margin: 0 18px 10px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	text-decoration: none;
	transition: color 0.22s ease, border-color 0.22s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	color: #8c6a3f;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	color: #8c6a3f;
	border-bottom: 1px solid #c4a574;
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
	max-width: 560px;
}

.woocommerce-account .woocommerce-form-row input.input-text,
.woocommerce-account .woocommerce-form-row textarea,
.woocommerce-account .woocommerce-form-row select {
	background: #fff;
	color: #1c140e;
	border: 1px solid #d9cbb8;
}

.cigar-footer {
	border-top: 1px solid rgba(196, 165, 116, 0.45);
	margin-top: 48px;
}

.cigar-footer a,
.cigar-footer p {
	color: #f3ece3;
	text-decoration: none;
}

.cigar-footer a:hover {
	color: #e0c79a;
}

.cigar-footer-bar {
	gap: 16px 28px;
}

.cigar-footer .wp-block-shortcode {
	margin: 0;
}

.cigar-social ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cigar-social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.22s ease;
}

.cigar-social svg {
	width: 28px;
	height: 28px;
	flex: none;
	fill: currentColor;
}

.cigar-social svg path {
	fill: currentColor;
}

.entry-content .cigar-social,
.wp-block-post-content .cigar-social {
	margin: 1.15em 0 1.35em;
}

.entry-content .cigar-social a,
.wp-block-post-content .cigar-social a {
	color: #f3ece3;
	text-decoration: none;
}

.entry-content .cigar-social a:hover,
.wp-block-post-content .cigar-social a:hover {
	color: #e0c79a;
}

@media (max-width: 900px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cigar-header .wp-block-search__input {
		min-width: 0;
	}

	.cigar-hero {
		min-height: 70vh !important;
	}

	.cigar-hero h1.wp-block-heading {
		font-size: clamp(2.4rem, 12vw, 3.6rem);
	}
}

@media (max-width: 560px) {
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}
}

.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
#cigar-age-ok {
	transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.wp-element-button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover,
#cigar-age-ok:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.wp-element-button:active,
.wp-block-button__link:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.wc-block-components-button:active,
#cigar-age-ok:active {
	transform: translateY(0);
	box-shadow: none;
}

.cigar-hero .is-style-outline .wp-block-button__link:hover {
	background: #c4a574 !important;
	color: #1c140e !important;
	border-color: #c4a574 !important;
}

#cigar-age-ok:hover {
	background: #c4a574 !important;
	color: #1c140e !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product a {
	transition: color 0.22s ease;
}

.woocommerce ul.products li.product a:not(.button):not(.add_to_cart_button):hover {
	color: #8a6230 !important;
}

:is(
	.woocommerce ul.products li.product,
	.single-product .wp-block-group.product,
	.woocommerce-cart .entry-content,
	.woocommerce-checkout .entry-content,
	.woocommerce-account .entry-content,
	.woocommerce-cart .wp-block-post-content,
	.woocommerce-checkout .wp-block-post-content,
	.woocommerce-account .wp-block-post-content
) a:not(.button):not(.wp-element-button):not(.wc-block-components-button):not(.add_to_cart_button) {
	color: #1c140e !important;
}

:is(
	.woocommerce ul.products li.product,
	.single-product .wp-block-group.product
) :is(.price, .wc-block-components-product-price, .wp-block-woocommerce-product-price),
:is(
	.woocommerce ul.products li.product,
	.single-product .wp-block-group.product
) :is(.price, .wc-block-components-product-price, .wp-block-woocommerce-product-price) :is(span, bdi, ins, del) {
	color: #8a6230 !important;
}

.single-product div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-breadcrumb a,
.cigar-footer a {
	transition: color 0.22s ease;
}

.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
	color: #8a6230 !important;
}

.woocommerce-cart .wp-block-post-content input,
.woocommerce-checkout .wp-block-post-content input,
.woocommerce-account .wp-block-post-content input,
.woocommerce-cart .wp-block-post-content textarea,
.woocommerce-checkout .wp-block-post-content textarea,
.woocommerce-account .wp-block-post-content textarea,
.woocommerce-cart .wp-block-post-content select,
.woocommerce-checkout .wp-block-post-content select,
.woocommerce-account .wp-block-post-content select,
.single-product div.product input.qty {
	transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.woocommerce-cart .wp-block-post-content input:focus,
.woocommerce-checkout .wp-block-post-content input:focus,
.woocommerce-account .wp-block-post-content input:focus,
.woocommerce-cart .wp-block-post-content textarea:focus,
.woocommerce-checkout .wp-block-post-content textarea:focus,
.woocommerce-account .wp-block-post-content textarea:focus,
.woocommerce-cart .wp-block-post-content select:focus,
.woocommerce-checkout .wp-block-post-content select:focus,
.woocommerce-account .wp-block-post-content select:focus,
.single-product div.product input.qty:focus {
	border-color: #c4a574;
	box-shadow: 0 0 0 3px rgba(196, 165, 116, 0.2);
	outline: none;
}

body.woocommerce-order-received main.wp-block-group {
	background: #f4efe6;
	color: #1c140e;
	border-radius: 12px;
	padding: 28px 22px 36px;
	margin-top: 28px;
	margin-bottom: 28px;
}

body.woocommerce-order-received main.wp-block-group :is(h1, h2, h3, p, li, td, th, span, strong, address) {
	color: #1c140e;
}

.cigar-usdt-checkout-note {
	margin: 8px 0 0;
	color: #3a2c22;
	line-height: 1.6;
}

.cigar-usdt-pay {
	box-sizing: border-box;
	max-width: 560px;
	margin: 28px auto;
	padding: 24px 22px 28px;
	background: #fff;
	color: #1c140e;
	border: 1px solid #e6dccb;
	border-radius: 12px;
	text-align: center;
}

.cigar-usdt-pay h2 {
	margin: 0 0 8px;
	color: #1c140e;
	font-size: 1.6rem;
	letter-spacing: 0.08em;
}

.cigar-usdt-lead,
.cigar-usdt-note {
	margin: 0;
	color: #3a2c22;
	line-height: 1.7;
}

.cigar-usdt-note {
	color: #8a2b1a;
	font-size: 0.95rem;
}

.cigar-usdt-meta {
	display: flex;
	justify-content: center;
	gap: 28px;
	margin: 18px 0;
}

.cigar-usdt-meta div {
	margin: 0;
}

.cigar-usdt-meta dt {
	color: #6d5c4d;
	font-size: 0.85rem;
}

.cigar-usdt-meta dd {
	margin: 4px 0 0;
	color: #1c140e;
	font-size: 1.25rem;
	font-weight: 650;
}

.cigar-usdt-address-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 8px 0 16px;
	text-align: left;
}

.cigar-usdt-label {
	display: block;
	margin-bottom: 4px;
	color: #6d5c4d;
	font-size: 0.85rem;
}

.cigar-usdt-address {
	display: block;
	color: #1c140e;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.92rem;
	line-height: 1.5;
	word-break: break-all;
}

.cigar-usdt-copy,
.cigar-usdt-paid {
	background: #1c140e;
	color: #f6f1e8;
	border: 0;
	border-radius: 2px;
	cursor: pointer;
}

.cigar-usdt-copy {
	padding: 8px 14px;
}

.cigar-usdt-paid {
	margin-top: 18px;
	padding: 12px 28px;
	font-size: 1rem;
}

.cigar-usdt-copy:hover,
.cigar-usdt-paid:hover {
	background: #c4a574;
	color: #1c140e;
}

.cigar-usdt-qr {
	display: block;
	width: min(240px, 100%);
	height: auto;
	aspect-ratio: 1;
	margin: 8px auto 16px;
	padding: 10px;
	object-fit: contain;
	background: #fff;
	border: 1px solid #efe6d8;
	border-radius: 8px;
	box-sizing: border-box;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__form {
	display: flex;
	flex-direction: column;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-contact-information-block,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__contact-fields,
body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-billing-address-block,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__billing-fields,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__use-address-for-billing {
	display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-shipping-methods-block {
	order: 1;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-shipping-address-block {
	order: 2;
	margin-top: 8px;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-order-note-block {
	order: 3;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-additional-information-block {
	order: 4;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-payment-block {
	order: 5;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-terms-block {
	order: 6;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-actions-block {
	order: 7;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-shipping-address-block .wc-block-components-checkout-step__heading {
	display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control {
	display: flex !important;
	flex-flow: row wrap !important;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control__option {
	flex: 1 1 calc(50% - 12px) !important;
	width: calc(50% - 12px);
	margin: 0 !important;
	padding: 12px 16px 12px 44px;
	border: 1px solid #d9d0c3;
	border-radius: 8px;
	background: #fff;
	box-sizing: border-box;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control__option::after {
	display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control__input {
	top: 50%;
	left: 16px;
	margin: 0;
	transform: translateY(-50%);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control__label {
	white-space: nowrap;
}

@media (max-width: 600px) {
	body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control {
		flex-direction: column !important;
	}

	body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control__option {
		flex: 1 1 auto !important;
		width: 100%;
	}
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control__option-checked {
	border-color: #8a6230;
	box-shadow: inset 0 0 0 1px #8a6230;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option .wc-block-components-radio-control__secondary-label,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__shipping-option--free {
	display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form[hidden] {
	display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__country,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__last_name,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__company,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__address_2,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__city,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__state,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__postcode,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__address_2-toggle {
	display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__first_name,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__phone,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-form__address_1 {
	width: 100%;
	margin: 0;
}

body.cigar-pickup .wc-block-components-address-form__address_1 {
	display: none;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__add-note .wc-block-components-checkbox {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-order-note-block::before {
	content: "訂單備註";
	display: block;
	margin: 4px 0 8px;
	color: #1c140e;
	font-weight: 600;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wp-block-woocommerce-checkout-order-note-block textarea {
	width: 100%;
	min-height: 96px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}
