/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 092001
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

/* 全局颜色系统 */
:root {
	--logo-color: #9b3749;
	/* 主色 */
	--logo-color-light: #dd3333;
	/* 辅助浅色 */
	--logo-color-dark: #702836;
	/* 辅助深色 */

	--text-color: #333;
	/* 默认文字颜色 */
	--bg-color: #fff;
	/* 默认背景颜色 */
}

/* 结账页面，不显示产品缩略信息 */
.woocommerce-checkout .wc-block-components-product-metadata {
	display: none !important;
}

.post .wp-post-image {
	border-radius: 6px;
}

/* Woo 产品页面图片全宽屏 */
.wp-block-image img {
	width: 100%;
}

@media (max-width: 768px) {
	h1.entry-title {
		font-size: 1.6rem;
	}
}

/* 分类页面的封面图-全宽显示 */
header.woocommerce-products-header,
.shoptimizer-category-banner {
	background-color: #f5f5f7 !important;
}

.tax-product_cat header.woocommerce-products-header {
	flex-wrap: wrap;
}

.content-area header.woocommerce-products-header img {
	order: 1;
	max-width: 100% !important;
}

.term-description {
	order: 2;
}

@media (min-width: 993px) {
	.image-exists .term-description {
		width: 100%;
	}
}

/*4 messages*/
/* 加入购物车：樱花粉(#FFB7C5) + 主色深调(#5A2A35)
成功消息：薄荷绿(#A0D6B4) + 松针绿(#1A3B23)
错误消息：珊瑚粉(#FF9AA2) + 酒红(#7A1C27)
提示消息：婴儿蓝(#89CFF0) + 海军蓝(#1E3A5F)*/
.woocommerce-error {
	background-color: #e2401c;
}

/* Normally Blue */
.woocommerce-info {
	background-color: #FFB7C5;
}

/* Normally Green */
.woocommerce-message {
	background-color: #FFB7C5;
	margin: 1rem 0;
}

/* Normally Green */
body.single-product .woocommerce-message .message-inner {
	background-color: #CF665F;
}


/* 11. 货币切换 - css 样式自定义，仅在产品页面应用样式 - */
.single-product .customer-price-container {
	display: block;
	background: linear-gradient(145deg, #ffffff, #f9f2f4);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 8px 24px rgba(156, 55, 73, 0.08);
	border: 1px solid rgba(156, 55, 73, 0.1);
	position: relative;
	overflow: visible;
	margin-bottom: 10px;
}

.single-product .price-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	width: 100%;
}

.single-product .current-price-container {
	display: flex;
	align-items: center;
	gap: 5px;
}

.single-product .now-text {
	font-size: 1rem;
	color: #666;
}

.single-product .current-price {
	font-size: 1.8rem;
	font-weight: 700;
	color: #9c3749;
}

.single-product .savings-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 10px;
}

.single-product .original-price-container {
	flex: 1;
}

.single-product .original-price {
	font-size: 1.2rem;
	color: #999;
	text-decoration: line-through;
}

.single-product .discount-info-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.single-product .discount-badge {
	background: linear-gradient(135deg, #ff6b8b, #9c3749);
	color: white;
	padding: 5px 10px;
	border-radius: 30px;
	font-size: 0.9rem;
	font-weight: bold;
}

.single-product .savings-info {
	display: flex;
	align-items: center;
	font-size: 0.95rem;
}

.single-product .savings-text {
	color: #666;
}

.single-product .savings-amount {
	color: #9c3749;
	font-weight: 700;
}

/* 隐藏产品页默认的折扣标签 */
.single-product span.sale-item.product-label.type-bubble {
	display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.single-product .current-price {
		font-size: 1.5rem;
	}

	.single-product .original-price {
		font-size: 1rem;
	}

	.single-product .discount-badge {
		font-size: 0.8rem;
		padding: 4px 8px;
	}

	.single-product .savings-info {
		font-size: 0.85rem;
	}
}

/* 顶部滚动通知栏样式 */
.top-notice-bar {
	overflow: hidden;
	background: #faedd3 !important;
	padding: 5px 0;
	margin: 0;
	width: 100%;
	cursor: pointer;
	z-index: 9;
}

/* relative 版本 */
.top-notice-bar.is-relative {
	position: relative;
}

/* fixed 版本 */
.top-notice-bar.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	transform: translateY(-100%);
	transition: transform 0.3s ease;
}

/* 显示 fixed */
.top-notice-bar.is-fixed.is-visible {
	transform: translateY(0);
}

.notice-track {
	display: flex;
	width: fit-content;
	animation: scroll-left linear infinite;
}

.notice-item {
	flex: 0 0 auto;
	padding: 0 100px;
	font-size: medium;
	font-weight: 300;
	white-space: nowrap;
}

/* ✅ 关键：统一链接样式 */
.notice-item a {
	color: #222;
	text-decoration: none;
}

.notice-item a:hover {
	opacity: 0.85;
}

@keyframes scroll-left {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-10%);
	}
}

/* ===== 单行不滚动：居中 ===== */
.notice-single {
	text-align: center !important;
	width: 100%;
	padding: 0;
}

.notice-item.notice-single {
	text-align: center;
	width: 100%;
	padding: 0;
}

/* 防止 fixed / relative 下错位 */
.top-notice-bar.is-relative .notice-single,
.top-notice-bar.is-fixed .notice-single {
	display: flex;
	justify-content: center;
	align-items: center;
}


/* =========================================
   1. 字体注册 (已优化: 增加 local 查找)
   ========================================= */
   @font-face {
    font-display: swap;
    font-family: 'BeYourLover';
    font-style: normal;
    font-weight: 400;
    src: local('Poppins Regular'), local('Poppins-Regular'),
         url('/wp-content/themes/shoptimizer-child-theme/assets/fonts/poppins-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'BeYourLover';
    font-style: normal;
    font-weight: 500;
    src: local('Poppins Medium'), local('Poppins-Medium'),
         url('/wp-content/themes/shoptimizer-child-theme/assets/fonts/poppins-500.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'BeYourLover';
    font-style: normal;
    font-weight: 600;
    src: local('Poppins SemiBold'), local('Poppins-SemiBold'),
         url('/wp-content/themes/shoptimizer-child-theme/assets/fonts/poppins-600.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'BeYourLover';
    font-style: normal;
    font-weight: 700;
    src: local('Poppins Bold'), local('Poppins-Bold'),
         url('/wp-content/themes/shoptimizer-child-theme/assets/fonts/poppins-700.woff2') format('woff2');
}

/*2. 全局变量定义 (方便管理) */
:root {
	/* 定义一个字体栈，方便下面调用 */
	--main-font: 'BeYourLover', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================
   3. 核心覆盖 (解决“部分不生效”的问题)
   ========================================= */

/* 针对 Body 和所有基础文字 */
body,
p,
span,
div,
li,
a {
	font-family: var(--main-font);
	font-weight: 400;
}

/* 针对 标题 (H1-H6) 及 产品标题 */
/* 这里加 !important 是为了打败主题自带的 CSS */
h1,
h2,
h3,
h4,
h5,
h6,
.page-title,
.entry-title,
.product_title,
.woocommerce-products-header__title,
.widget-title {
	font-family: var(--main-font) !important;
	font-weight: 600 !important;
}

/* 针对 内容区域 (保持正常字重) */
.entry-content,
.entry-content p,
.woocommerce-product-details__short-description,
.woocommerce-Tabs-panel,
.woocommerce-Tabs-panel p {
	font-family: var(--main-font) !important;
	font-weight: 400 !important;
}

/* 针对 价格 (通常需要稍微粗一点) */
.price,
.amount,
.woocommerce-Price-amount {
	font-family: var(--main-font) !important;
	font-weight: 500 !important;
}

/* 针对 按钮 (最容易漏的地方) */
button,
.button,
.wc-forward,
.add_to_cart_button,
.single_add_to_cart_button,
.checkout-button,
input[type="submit"],
input[type="button"] {
	font-family: var(--main-font) !important;
	font-weight: 500 !important;
	text-transform: none;
	/* 可选：防止主题强制大写 */
}

/* 针对 导航栏 */
.site-header,
.site-header a,
.main-navigation a {
	font-family: var(--main-font) !important;
	font-weight: 500 !important;
}

/* 针对 表单输入框 (浏览器最顽固的地方，必须强制) */
input,
select,
textarea,
label,
.select2-container {
	font-family: var(--main-font) !important;
	font-weight: 400;
}

/* 4. 特殊保护区 (保护货币符号，防止乱码，千万别改这里，如果符号显示不正常，尝试删掉这一行或者指定 Arial)*/
.woocommerce-Price-currencySymbol {
	font-family: inherit;
}

/* ==========================================================================
   WordPress 登录页面美化 (StyleCSS 版)
========================================================================== */

/* 1. 整体背景与布局 */
body.login {
	background: linear-gradient(135deg, #fce8ec 0%, #f9f0f2 100%);
	font-family: "Segoe UI", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}

/* 2. 登录容器外层 */
#login {
	width: 380px;
	padding: 2rem 2rem 1rem;
	background: white;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(156, 55, 73, 0.12);
	position: relative;
}

/* 顶部装饰条 */
#login:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, #ff9aad 0%, #9c3749 100%);
	border-radius: 20px 20px 0 0;
}

/* 3. Logo 样式 */
.login h1 a {
	background-image: url(/wp-content/uploads/2025/01/logo-slogan-red-1-1536x260.webp) !important;
	background-size: contain !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	height: 80px !important;
	width: 100% !important;
	margin: 0 auto 25px !important;
	display: block;
	text-indent: -9999px;
	outline: none;
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.login h1 a:hover {
	transform: scale(1.03);
}

/* 4. 表单容器 */
.login form {
	border-radius: 16px !important;
	box-shadow: 0 4px 15px rgba(156, 55, 73, 0.05) !important;
	border: 1px solid #ffe6eb !important;
	padding: 30px !important;
	margin-top: 0 !important;
	overflow: hidden;
}

/* 5. 输入框美化 */
.login .input {
	border-radius: 12px !important;
	border: 2px solid #f5d0d7 !important;
	padding: 10px 15px !important;
	font-size: 15px !important;
	transition: all 0.3s ease !important;
	box-shadow: none !important;
}

.login .input:focus {
	border-color: #ff9aad !important;
	box-shadow: 0 0 0 3px rgba(156, 55, 73, 0.1) !important;
	outline: none;
}

/* 6. 登录按钮 */
.wp-core-ui .button-primary {
	background: #9c3749 !important;
	border: none !important;
	border-radius: 50px !important;
	text-shadow: none !important;
	box-shadow: 0 4px 12px rgba(156, 55, 73, 0.2) !important;
	padding: 0 24px !important;
	height: 48px !important;
	line-height: 48px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	width: 100% !important;
	margin-top: 20px !important;
	transition: all 0.3s ease !important;
}

.wp-core-ui .button-primary:hover {
	background: #ff6b8b !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(156, 55, 73, 0.3) !important;
}

/* 7. 底部链接 (找回密码/回到首页) */
.login #nav,
.login #backtoblog {
	text-align: center !important;
	padding: 10px 0 !important;
}

.login #nav a,
.login #backtoblog a {
	color: #e65c7b !important;
	font-size: 13px !important;
	transition: color 0.2s ease;
}

.login #nav a:hover,
.login #backtoblog a:hover {
	color: #9c3749 !important;
	text-decoration: underline wavy !important;
}

/* 8. 错误与信息提示 */
.login .message,
.login #login_error {
	border-left: 4px solid #ff9aad !important;
	border-radius: 8px !important;
	background-color: #fff !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* 9. 装饰元素 (心形) */
.login form::after {
	content: "❤";
	position: absolute;
	bottom: -15px;
	right: -10px;
	font-size: 50px;
	color: rgba(156, 55, 73, 0.05);
	transform: rotate(15deg);
	pointer-events: none;
}

/* 10. 移动端适配 */
@media (max-width: 420px) {
	#login {
		width: 85%;
		padding: 1rem;
	}
}

/* --- 全局图片优化 --- */
/* 统一处理 Gutenberg 图片块，确保响应式且居中 */
.wp-block-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* 产品部分及描述页面的图片居中 */
.product-section>img,
#cgkit-tab-description .selling-point p img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* --- Checkout 页面专项优化 --- */
/* 使用 .woocommerce-checkout 类名锁定范围，避免影响其他页面 */
.woocommerce-checkout .wp-block-woocommerce-smart-coupons-available-coupons,
.woocommerce-checkout .wp-block-woocommerce-smart-coupons-send-coupon-form {
	display: none !important;
}

/* 压缩结账页联系信息字段间距 */
.woocommerce-checkout .wc-block-checkout__contact-fields {
	margin-bottom: 0 !important;
}

/* --- 分类的表格样式 --- */
/* 只有在包含 .category-comparison 类的容器下，表格样式才会生效 */
/* 针对 Comparison 分类的独特表格样式 - 强制覆盖版 */

/* 1. 基础容器设置：必须设置 separate 才能显示圆角 */
body.category-comparison .entry-content table {
	border-collapse: separate !important;
	border-spacing: 0 !important;
	width: 100% !important;
	border: none !important;
}

/* 2. 单元格基础样式 */
body.category-comparison .entry-content table td {
	border: none !important;
	padding: 1em 2em !important;
	vertical-align: middle !important;
}

/* 3. 斑马纹效果 (奇数行背景) */
body.category-comparison .entry-content table tr:nth-child(2n+1) {
	background: rgb(246, 247, 248) !important;
}

/* 4. 左上圆角 */
body.category-comparison .entry-content table tr:first-child td:first-child {
	border-top-left-radius: 16px !important;
}

/* 5. 右上圆角 */
body.category-comparison .entry-content table tr:first-child td:last-child {
	border-top-right-radius: 16px !important;
}

/* 6. 左下圆角 */
body.category-comparison .entry-content table tr:last-child td:first-child {
	border-bottom-left-radius: 16px !important;
}

/* 7. 右下圆角 */
body.category-comparison .entry-content table tr:last-child td:last-child {
	border-bottom-right-radius: 16px !important;
}

/* 可选：鼠标悬停行变色，增强对比体验 */
body.category-comparison .entry-content table tr:hover {
	background-color: rgba(0, 0, 0, 0.02) !important;
}

/* ==========================================================================
   Contact Form 7 Footer 订阅表单完整样式 (Flexbox + 品牌主色调特效)
   ========================================================================== */
* 1. 强制干掉 CF7 偷偷加的换行符 */ .footer-newsletter br {
	display: none !important;
}

/* 2. 直接对准 CF7 自动生成的 P 标签使用 Flex 布局 */
.footer-newsletter,
.footer-newsletter p {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 450px;
	margin: 0 !important;
	padding: 0 !important;
}

/* 3. 限制包裹层，让输入框撑满剩余空间 */
.footer-newsletter .wpcf7-form-control-wrap {
	flex: 1 !important;
	margin: 0 !important;
	display: block !important;
}

/* 4. 输入框样式（加入你的 #9b3749 主色调交互） */
.footer-newsletter input[type="email"] {
	width: 100% !important;
	height: 45px !important;
	margin: 0 !important;
	padding: 0 15px !important;
	border: 1px solid #cccccc !important;
	border-radius: 4px !important;
	box-sizing: border-box !important;
	transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.footer-newsletter input[type="email"]:focus {
	border-color: #9b3749 !important;
	box-shadow: 0 0 5px rgba(155, 55, 73, 0.2) !important;
	outline: none !important;
}

/* 5. 按钮样式（强绑定主色调，防止被主题挤压变形） */
.footer-newsletter input[type="submit"] {
	flex-shrink: 0 !important;
	width: auto !important;
	height: 45px !important;
	margin: 0 !important;
	padding: 0 25px !important;
	white-space: nowrap !important;
	background-color: #9b3749 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	box-sizing: border-box !important;
	transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.footer-newsletter input[type="submit"]:hover {
	background-color: #7d2c3b !important;
	transform: translateY(-2px) !important;
}

/* 6. 移动端强制转为上下排列 */
@media (max-width: 480px) {

	.footer-newsletter,
	.footer-newsletter p {
		flex-direction: column !important;
		gap: 12px !important;
	}

	.footer-newsletter input[type="submit"] {
		width: 100% !important;
	}
}

/* ==========================================================================
   Warranty & Registration 表单专属样式
   ========================================================================== */
.warranty-form-container {
	max-width: 800px;
	margin: 0 auto;
	font-family: inherit;
	color: #333333;
}

/* 顶部说明文字样式 */
.warranty-intro {
	background-color: #f9f9f9;
	padding: 20px;
	border-left: 4px solid #9b3749;
	border-radius: 4px;
	margin-bottom: 30px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #555555;
}

/* 电脑端左右并排布局 */
.warranty-form-container .form-row {
	display: flex;
	gap: 20px;
}

.warranty-form-container .form-group {
	flex: 1;
	margin-bottom: 22px;
}

/* 强制清除 CF7 自动生成的换行 */
.warranty-form-container br,
.warranty-form-container p:empty {
	display: none !important;
}

.warranty-form-container .wpcf7-form-control-wrap {
	display: block !important;
}

/* 标签与提示文字样式 */
.warranty-form-container label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 15px;
}

.warranty-form-container .field-hint {
	display: block;
	font-size: 13px;
	color: #777777;
	margin-bottom: 8px;
	margin-top: -4px;
}

/* 所有的输入框、下拉框和多行文本框 */
.warranty-form-container input[type="text"],
.warranty-form-container input[type="email"],
.warranty-form-container input[type="date"],
.warranty-form-container select,
.warranty-form-container textarea {
	width: 100% !important;
	padding: 12px 15px !important;
	border: 1px solid #cccccc !important;
	border-radius: 4px !important;
	background-color: #ffffff !important;
	box-sizing: border-box !important;
	font-size: 15px !important;
	transition: all 0.3s ease !important;
}

.warranty-form-container input[type="text"],
.warranty-form-container input[type="email"],
.warranty-form-container input[type="date"],
.warranty-form-container select {
	height: 48px !important;
}

/* 激活交互 */
.warranty-form-container input:focus,
.warranty-form-container select:focus,
.warranty-form-container textarea:focus {
	border-color: #9b3749 !important;
	box-shadow: 0 0 5px rgba(155, 55, 73, 0.2) !important;
	outline: none !important;
}

/* 单选按钮(Radio)美化 */
.warranty-form-container .wpcf7-radio {
	display: flex;
	gap: 20px;
	margin-top: 8px;
}

.warranty-form-container .wpcf7-list-item {
	margin: 0;
}

.warranty-form-container input[type="radio"] {
	accent-color: #9b3749;
	/* 现代浏览器支持的原生单选框改色 */
	transform: scale(1.2);
	margin-right: 8px;
}

/* 文件上传区域 */
.warranty-form-container .file-inputs-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background-color: #fcfcfc;
	border: 1px dashed #cccccc;
	padding: 15px;
	border-radius: 4px;
}

.warranty-form-container input[type="file"] {
	font-size: 14px;
}

/* 提交按钮 */
.warranty-form-container .form-submit-btn input[type="submit"] {
	background-color: #9b3749 !important;
	color: #ffffff !important;
	border: none !important;
	padding: 0 40px !important;
	height: 50px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	transition: background-color 0.3s ease, transform 0.2s ease !important;
	width: auto !important;
	margin-top: 10px;
}

.warranty-form-container .form-submit-btn input[type="submit"]:hover {
	background-color: #7d2c3b !important;
	transform: translateY(-2px) !important;
}

/* 移动端响应式适配 */
@media (max-width: 768px) {
	.warranty-form-container .form-row {
		flex-direction: column;
		gap: 0;
	}

	.warranty-form-container .wpcf7-radio {
		flex-direction: column;
		gap: 10px;
	}

	.warranty-form-container .form-submit-btn input[type="submit"] {
		width: 100% !important;
	}
}

/* 博客产品模板样式 */

/* 博客产品模块 */
.c-product-card * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.c-product-card {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 16px;
	border-radius: 24px;
	padding: 16px;
	transition: all 0.2s ease;
	border: 1px solid #E7E7E7;
	margin-bottom: 20px;
	background: #ffffff;
}

.c-product-card__media {
	flex-shrink: 0;
	width: 100px;
	height: 100px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f5f5f5;
}

.c-product-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.c-product-card__content {
	flex: 1;
	min-width: 0;
}

.c-product-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: #333333;
	line-height: 1.3;
	margin-bottom: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.c-product-card__description {
	font-size: 0.75rem;
	color: #666666;
	line-height: 1.4;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.c-product-card__price-row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 0;
}

.c-product-card__price-current {
	font-size: 1.1rem;
	font-weight: 700;
	color: #DA1145;
}

.c-product-card__price-original {
	font-size: 0.7rem;
	color: #999999;
	text-decoration: line-through;
}

.c-product-card__badge {
	display: inline-block;
	background: linear-gradient(to right, #FF5C59, #FF225A);
	color: #ffffff;
	font-size: 0.6rem;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 30px;
	letter-spacing: 0.3px;
}

.c-product-card__action {
	flex-shrink: 0;
}

.c-product-card__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	background: #DA1145;
	color: #FFFFFF;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 40px;
	transition: all 0.2s ease;
	white-space: nowrap;
	border: none;
	cursor: pointer;
}

.c-product-card__button:hover {
	background: #b80e3a;
	transform: scale(0.96);
	color: #FFFFFF;
}

.c-product-card__button--dark {
	background: #2c2c2c;
	color: #ffffff;
}

.c-product-card__button--dark:hover {
	background: #3a3a3a;
}

@media (max-width: 500px) {
	.c-product-card {
		flex-wrap: wrap;
		gap: 12px;
	}

	.c-product-card__media {
		width: 80px;
		height: 80px;
	}

	.c-product-card__action {
		width: 100%;
	}

	.c-product-card__button {
		width: 100%;
		text-align: center;
	}

	.c-product-card__title {
		white-space: normal;
		font-size: 0.95rem;
	}
}

@media (max-width: 380px) {
	.c-product-card__price-row {
		flex-wrap: wrap;
	}
}