/* ==========================================================================
   Rikai Suru – giao diện mới (child theme của Flatsome)
   Mục lục:
   1. Biến màu & nền tảng      6. Trang chủ
   2. Chữ & nút                7. Trang sản phẩm
   3. Header                   8. Giỏ hàng / thanh toán / tài khoản
   4. Thẻ sản phẩm             9. Blog & trang nội dung
   5. Thành phần dùng chung   10. Footer
   ========================================================================== */

/* 1. Biến màu & nền tảng
   ------------------------------------------------------------------------- */
:root {
	--rk-primary: #0b6b73;      /* xanh teal chủ đạo – nút, link */
	--rk-primary-700: #08555c;
	--rk-ink: #12363b;          /* chữ tiêu đề, nền tối */
	--rk-ink-900: #0d2a2e;
	--rk-cyan: #00869e;         /* màu logo (đậm hơn để đủ tương phản) */
	--rk-gold: #c9a45c;         /* điểm nhấn sang trọng */
	--rk-gold-700: #8a6a2a;
	--rk-gold-50: #f7f0e1;
	--rk-sage: #91b06d;         /* màu dòng Green Organic */
	--rk-sage-50: #eef3e6;
	--rk-cream: #faf7f1;
	--rk-text: #26353a;
	--rk-muted: #5f6b6d;
	--rk-line: #e7e2d8;
	--rk-white: #fff;
	--rk-danger: #b42318;

	--rk-radius: 16px;
	--rk-radius-sm: 10px;
	--rk-radius-pill: 999px;
	--rk-shadow-sm: 0 1px 2px rgba(18, 54, 59, .06);
	--rk-shadow: 0 1px 2px rgba(18, 54, 59, .05), 0 10px 30px rgba(18, 54, 59, .07);
	--rk-shadow-lg: 0 2px 6px rgba(18, 54, 59, .06), 0 24px 48px rgba(18, 54, 59, .12);
	--rk-ease: cubic-bezier(.2, .7, .2, 1);
	--rk-section-y: 80px;
}

@media (max-width: 849px) {
	:root { --rk-section-y: 56px; }
}

@media (max-width: 549px) {
	:root { --rk-section-y: 44px; }
}

html { -webkit-text-size-adjust: 100%; }

body {
	color: var(--rk-text);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: var(--rk-white);
}

::selection { background: var(--rk-primary); color: #fff; }

a { transition: color .2s var(--rk-ease); }

:focus-visible {
	outline: 2px solid var(--rk-cyan);
	outline-offset: 2px;
	border-radius: 4px;
}

img { height: auto; }

/* 2. Chữ & nút
   ------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.heading-font {
	color: var(--rk-ink);
	letter-spacing: -.01em;
	line-height: 1.25;
}

.rk-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rk-gold-700);
}

.rk-eyebrow::before {
	content: "";
	width: 24px;
	height: 1px;
	background: currentColor;
}

.button,
button,
input[type="submit"],
input[type="button"] {
	border-radius: var(--rk-radius-pill);
	font-weight: 600;
	letter-spacing: .01em;
	text-transform: none;
	transition: background-color .2s var(--rk-ease), color .2s var(--rk-ease), border-color .2s var(--rk-ease), box-shadow .2s var(--rk-ease), transform .2s var(--rk-ease);
}

.button.primary:not(.is-outline),
input[type="submit"].primary {
	background-color: var(--rk-primary);
}

.button.primary:not(.is-outline):hover {
	background-color: var(--rk-primary-700);
	box-shadow: 0 8px 20px rgba(11, 107, 115, .25);
}

.rk-btn {
	min-height: 48px;
	padding: 0 28px;
	line-height: 46px;
	font-size: 15px;
	margin: 0;
}

.rk-btn--ghost {
	background: transparent;
	border: 1.5px solid var(--rk-line);
	color: var(--rk-ink);
}

.rk-btn--ghost:hover {
	border-color: var(--rk-ink);
	color: var(--rk-ink);
	background: #fff;
}

.rk-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--rk-primary);
	white-space: nowrap;
}

.rk-link-arrow::after {
	content: "→";
	transition: transform .2s var(--rk-ease);
}

.rk-link-arrow .rk-icon { display: none; }

.rk-link-arrow:hover { color: var(--rk-primary-700); }
.rk-link-arrow:hover::after { transform: translateX(4px); }

.rk-icon {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.rk-checklist {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

/* Flatsome thụt lề mọi danh sách trong cột – bỏ cho các danh sách tự thiết kế */
.col-inner ul.rk-checklist,
.col-inner ul.rk-trust,
.col-inner ul.rk-contact-list,
.col-inner ul.rk-footer__links,
ul.rk-contact-list,
ul.rk-trust { margin-left: 0; padding-left: 0; }

.rk-checklist > li,
.rk-trust > li,
.rk-contact-list > li,
.rk-footer__links > li { margin-left: 0 !important; }

/* WordPress 7 tự gạch chân mọi link – chỉ giữ gạch chân trong nội dung bài viết */
a:where(:not(.wp-element-button)) { text-decoration: none; }

/* Icon cũ trên menu không đồng bộ – ẩn để menu gọn hơn */
.header-nav .ux-menu-icon,
.nav-sidebar .ux-menu-icon { display: none; }

.rk-checklist li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 28px;
}

.rk-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--rk-sage-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e7d3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* 3. Header
   ------------------------------------------------------------------------- */
.header-top {
	font-size: 13px;
	letter-spacing: .01em;
}

.header-top .html_topbar_left,
.header-top .html_topbar_left a {
	color: rgba(255, 255, 255, .92);
}

.header-top .html_topbar_left a {
	color: var(--rk-gold);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.header-main {
	border-bottom: 1px solid var(--rk-line);
}

.header-main .header-inner { gap: 16px; }

/* Ô tìm kiếm dạng viên thuốc */
.header-main .header-search-form,
.header-main .flex-col.flex-left .header-search-form {
	max-width: 560px;
	width: 100%;
}

.header-main .flex-left { flex: 1 1 auto; }
.header-main .flex-left .header-nav { width: 100%; }
.header-main .flex-left .header-nav > li.header-search-form { flex: 1; margin: 0 24px; }

.header-search-form .searchform .flex-row { gap: 0; }

.header-search-form .search-field,
.header-search-form input[type="search"] {
	height: 46px;
	padding: 0 20px;
	border: 1.5px solid var(--rk-line);
	border-right: 0;
	border-radius: var(--rk-radius-pill) 0 0 var(--rk-radius-pill);
	background: var(--rk-cream);
	box-shadow: none;
	font-size: 15px;
	transition: border-color .2s, background-color .2s;
}

.header-search-form .search-field:focus {
	border-color: var(--rk-primary);
	background: #fff;
}

.header-search-form .searchform .button.icon {
	height: 46px;
	min-width: 56px;
	margin: 0;
	border-radius: 0 var(--rk-radius-pill) var(--rk-radius-pill) 0;
	background: var(--rk-primary);
	color: #fff;
}

.header-search-form .searchform .button.icon:hover { background: var(--rk-primary-700); }

/* Gợi ý tìm kiếm nhanh */
.autocomplete-suggestions {
	margin-top: 6px;
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	box-shadow: var(--rk-shadow-lg);
	overflow: hidden;
	background: #fff;
}

.autocomplete-suggestion { padding: 10px 14px !important; }
.autocomplete-suggestion .search-image { border-radius: 8px; }
.autocomplete-selected,
.autocomplete-suggestion:hover { background: var(--rk-sage-50) !important; }
.autocomplete-suggestion .search-price { color: var(--rk-primary); }

/* Hotline trên header */
.rk-hotline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--rk-ink);
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
}

.rk-hotline .rk-icon {
	width: 40px;
	height: 40px;
	padding: 9px;
	border-radius: 50%;
	background: var(--rk-sage-50);
	color: var(--rk-primary);
}

.rk-hotline__text { display: flex; flex-direction: column; }
.rk-hotline__text small { font-size: 12px; color: var(--rk-muted); font-weight: 400; }
.rk-hotline__text strong { font-size: 16px; color: var(--rk-ink); font-weight: 700; }
.rk-hotline:hover strong { color: var(--rk-primary); }

.header-main .header-nav > li.html_topbar_right { margin-right: 12px; }

/* Biểu tượng tài khoản / giỏ hàng */
.header-main .account-item > a,
.header-main .cart-item > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	color: var(--rk-ink);
	transition: background-color .2s;
}

.header-main .account-item > a:hover,
.header-main .cart-item > a:hover { background: var(--rk-sage-50); color: var(--rk-primary); }

.header-main .account-item i,
.header-main .cart-item i { font-size: 22px; }

.header-main .cart-item i[data-icon-label]::after,
.header-wrapper .cart-icon strong {
	background: var(--rk-gold);
	color: var(--rk-ink);
	font-weight: 700;
	box-shadow: 0 0 0 2px #fff;
}

/* Thanh menu dưới */
.header-bottom {
	border-bottom: 1px solid var(--rk-line);
}

.header-bottom .header-nav-main > li > a {
	position: relative;
	font-size: 15px;
	font-weight: 500;
	color: var(--rk-ink);
	padding-top: 13px;
	padding-bottom: 13px;
}

.header-bottom .header-nav-main > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 2px;
	border-radius: 2px;
	background: var(--rk-primary);
	transform: scaleX(0);
	transition: transform .25s var(--rk-ease);
}

.header-bottom .header-nav-main > li.active > a,
.header-bottom .header-nav-main > li.current-menu-item > a,
.header-bottom .header-nav-main > li > a:hover { color: var(--rk-primary); }

.header-bottom .header-nav-main > li.active > a::after,
.header-bottom .header-nav-main > li.current-menu-item > a::after,
.header-bottom .header-nav-main > li > a:hover::after { transform: scaleX(1); }

.rk-nav-note { font-size: 14px; color: var(--rk-muted); }
.rk-nav-note a { font-weight: 700; color: var(--rk-primary); }

.nav-dropdown {
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius-sm);
	box-shadow: var(--rk-shadow-lg);
	padding: 8px 0;
}

.nav-dropdown > li > a { font-size: 15px; color: var(--rk-text); }
.nav-dropdown > li > a:hover { color: var(--rk-primary); background: var(--rk-sage-50); }

/* Header khi cuộn */
.stuck .header-main { box-shadow: 0 6px 24px rgba(18, 54, 59, .08); }

/* Mobile header */
@media (max-width: 849px) {
	.header-main { border-bottom: 1px solid var(--rk-line); }
	.header-main .account-item > a,
	.header-main .cart-item > a { width: 42px; height: 42px; }
	.header-top { font-size: 12px; }
	.header-top .html_topbar_left { text-align: center; line-height: 1.4; padding: 2px 0; }
}

/* Menu mobile (off-canvas) */
.off-canvas .mobile-sidebar { background: #fff; }
.off-canvas .nav-sidebar > li > a { font-size: 16px; color: var(--rk-ink); text-transform: none; letter-spacing: 0; }
.off-canvas .nav-sidebar .children > li > a,
.off-canvas .nav-sidebar .sub-menu > li > a { text-transform: none; font-size: 15px; }
.off-canvas .ux-menu-icon { display: none; }
.off-canvas .rk-contact-list__item { margin-bottom: 12px; }
.off-canvas .nav-sidebar .searchform .search-field { border-radius: var(--rk-radius-pill); background: var(--rk-cream); }
.off-canvas .rk-contact-list { padding: 8px 20px 20px; }

/* 4. Thẻ sản phẩm
   ------------------------------------------------------------------------- */
.product-small.col > .col-inner {
	height: 100%;
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	background: #fff;
	overflow: hidden;
	transition: box-shadow .3s var(--rk-ease), transform .3s var(--rk-ease), border-color .3s;
}

.product-small.col > .col-inner:hover {
	border-color: transparent;
	box-shadow: var(--rk-shadow-lg);
	transform: translateY(-3px);
}

.product-small .box-image {
	background: var(--rk-cream);
	border-radius: 0;
}

.product-small .box-image img { transition: transform .5s var(--rk-ease); }

.product-small .box-text {
	padding: 14px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
}

.product-small .box-text .title-wrapper { order: 0; }

.product-small .product-title,
.product-small .name.product-title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0;
	color: var(--rk-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}

.product-small .product-title a { color: inherit; }
.product-small .product-title a:hover { color: var(--rk-primary); }

.rk-loop-brand,
.rk-loop-brand a,
.product-small .pwb-brand-text,
.product-small .pwb-single-product-brands a {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rk-gold-700);
	margin: 0;
}

.product-small .price-wrapper .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 2px 0 0;
}

.product-small .price .amount,
.product-small .price ins .amount {
	font-size: 17px;
	font-weight: 700;
	color: var(--rk-ink);
}

.product-small .price del .amount { font-size: 14px; font-weight: 400; color: var(--rk-muted); }
.product-small .price ins { text-decoration: none; }

.product-small .star-rating { font-size: 12px; margin: 0; color: var(--rk-gold); }

.product-small .add-to-cart-button { margin-top: auto; padding-top: 8px; }

.product-small .add-to-cart-button .button {
	width: 100%;
	min-height: 40px;
	line-height: 38px;
	margin: 0;
	font-size: 14px;
	border-width: 1.5px;
}

.product-small .add-to-cart-button .button.is-outline:hover {
	background: var(--rk-primary);
	border-color: var(--rk-primary);
	color: #fff;
}

.product-small .add-to-cart-button .button.added::after { margin-left: 6px; }

.badge-container { margin: 12px 0 0 12px; }

.badge .badge-inner,
.badge-inner.on-sale {
	border-radius: var(--rk-radius-pill);
	background: var(--rk-gold);
	color: var(--rk-ink);
	font-weight: 700;
}

.badge.badge-circle,
.badge.badge-circle-inside { width: auto; height: auto; }
.badge.badge-circle .badge-inner { padding: 4px 10px; font-size: 12px; }

@media (max-width: 549px) {
	.product-small .box-text { padding: 10px 12px 14px; }
	.product-small .product-title { font-size: 14px; }
	.product-small .price .amount { font-size: 15px; }
	.product-small .add-to-cart-button .button { font-size: 13px; min-height: 36px; line-height: 34px; padding: 0 8px; }
}

/* 5. Thành phần dùng chung
   ------------------------------------------------------------------------- */
.rk-section { padding: var(--rk-section-y) 0 0 !important; }
.rk-section .row.rk-row { max-width: 1240px; }

.rk-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 32px;
}

.rk-heading--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.rk-heading--center .rk-heading__text { max-width: 760px; }
.rk-heading__title { text-wrap: balance; }
.rk-heading__title { margin: 0; font-size: clamp(26px, 3.2vw, 36px); }
.rk-heading__sub { margin: 10px 0 0; color: var(--rk-muted); font-size: 16px; }

/* Cam kết */
.rk-trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.rk-trust__item {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	line-height: 1.35;
}

.rk-trust__item strong { display: block; color: var(--rk-ink); font-size: 15px; }
.rk-trust__item span { display: block; color: var(--rk-muted); font-size: 13px; margin-top: 2px; }

.rk-trust--card .rk-trust__item {
	padding: 18px 20px;
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	background: #fff;
}

.rk-trust .rk-icon {
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: 50%;
	background: var(--rk-sage-50);
	color: var(--rk-primary);
}

.rk-trust--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.rk-trust--plain .rk-icon { width: 36px; height: 36px; padding: 8px; }
.rk-trust--plain .rk-trust__item strong { font-size: 14px; font-weight: 600; }

@media (max-width: 849px) {
	.rk-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mã giảm giá */
.rk-coupons {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.rk-coupon {
	position: relative;
	display: flex;
	gap: 16px;
	padding: 18px 20px;
	border: 1.5px dashed var(--rk-gold);
	border-radius: var(--rk-radius);
	background: var(--rk-gold-50);
}

.rk-coupon__icon .rk-icon {
	width: 48px;
	height: 48px;
	padding: 11px;
	border-radius: 12px;
	background: var(--rk-gold);
	color: var(--rk-ink);
}

.rk-coupon__body { flex: 1; min-width: 0; }
.rk-coupon__title { margin: 0; font-family: inherit; font-weight: 700; font-size: 17px; color: var(--rk-ink); }
.rk-coupon__desc { margin: 2px 0 10px; font-size: 14px; color: var(--rk-muted); }
.rk-coupon__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.rk-coupon__code {
	padding: 6px 12px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--rk-line);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--rk-ink);
}

.rk-coupon__copy {
	min-height: 34px;
	margin: 0;
	padding: 0 16px;
	border: 0;
	border-radius: var(--rk-radius-pill);
	background: var(--rk-ink);
	color: #fff;
	font-size: 13px;
	line-height: 34px;
	cursor: pointer;
}

.rk-coupon__copy:hover { background: var(--rk-primary); }
.rk-coupon__copy.is-copied { background: #3e7d3a; }
.rk-coupon__terms { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--rk-muted); text-decoration: underline; }

.rk-coupon--hidden-note {
	display: block;
	border-style: dashed;
	border-color: #d9a400;
	background: #fff8db;
	font-size: 14px;
	color: #5c4a00;
}

/* Ẩn cả khối nếu không có nội dung (mã chưa tạo, chưa có đánh giá...) */
.rk-coupons-section:not(:has(.rk-coupon)),
.rk-reviews-section:not(:has(.rk-review, .rk-coupon--hidden-note)) { display: none; }

/* Danh sách liên hệ */
.rk-contact-list { list-style: none; margin: 0; padding: 0; }

.rk-contact-list__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 16px;
	line-height: 1.45;
}

.rk-contact-list__item .rk-icon {
	width: 38px;
	height: 38px;
	padding: 9px;
	border-radius: 50%;
	background: var(--rk-sage-50);
	color: var(--rk-primary);
}

.rk-contact-list__item small { display: block; font-size: 12px; color: var(--rk-muted); text-transform: uppercase; letter-spacing: .08em; }
.rk-contact-list__item a { color: var(--rk-ink); font-weight: 600; }
.rk-contact-list__item a:hover { color: var(--rk-primary); }

.rk-contact-list--dark .rk-contact-list__item { color: rgba(255, 255, 255, .85); }
.rk-contact-list--dark .rk-contact-list__item small { color: rgba(255, 255, 255, .55); }
.rk-contact-list--dark .rk-contact-list__item a { color: #fff; }
.rk-contact-list--dark .rk-icon { background: rgba(255, 255, 255, .08); color: var(--rk-gold); }

/* Mạng xã hội */
.rk-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.rk-social__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--rk-radius-pill);
	border: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.rk-social__btn .rk-icon { width: 18px; height: 18px; }
.rk-social__btn:hover { background: var(--rk-gold); border-color: var(--rk-gold); color: var(--rk-ink); }

/* 6. Trang chủ
   ------------------------------------------------------------------------- */

/* Hero */
.rk-hero {
	background:
		radial-gradient(1200px 500px at 85% 20%, rgba(145, 176, 109, .18), transparent 60%),
		linear-gradient(180deg, var(--rk-cream) 0%, #fff 100%);
	padding: 56px 0 64px !important;
	overflow: hidden;
}

.rk-hero__title {
	margin: 0 0 18px;
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.12;
	letter-spacing: -.02em;
}

.rk-hero__title em {
	font-style: italic;
	font-weight: 500;
	color: var(--rk-primary);
}

.rk-hero__lead {
	max-width: 520px;
	margin: 0 0 28px;
	font-size: 17px;
	color: var(--rk-muted);
}

.rk-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.rk-hero .rk-trust--plain {
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 12px 28px;
	padding-top: 24px;
	border-top: 1px solid var(--rk-line);
}

.rk-hero .rk-trust--plain .rk-icon { background: #fff; box-shadow: var(--rk-shadow-sm); }

.rk-hero__image .img-inner {
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--rk-shadow-lg);
}

.rk-hero__media .col-inner { position: relative; }

.rk-hero__media .col-inner::before {
	content: "";
	position: absolute;
	inset: 24px -24px -24px 24px;
	border-radius: 28px;
	background: var(--rk-sage-50);
	z-index: -1;
}

@media (max-width: 849px) {
	.rk-hero { padding: 32px 0 40px !important; }
	.rk-hero__media { order: -1; }
	.rk-hero__media .col-inner::before { inset: 12px -10px -12px 10px; }
	.rk-hero .rk-trust--plain { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
	.rk-hero .rk-trust--plain .rk-trust__item { flex-direction: column; align-items: flex-start; gap: 6px; }
	.rk-hero .rk-trust--plain .rk-trust__item span { display: none; }
}

@media (max-width: 549px) {
	.rk-hero__actions .rk-btn { flex: 1 1 auto; text-align: center; padding: 0 18px; }
	.rk-hero__lead { font-size: 16px; }
}

/* Bộ sản phẩm */
.rk-line > .col-inner {
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--rk-line);
	transition: box-shadow .3s var(--rk-ease), transform .3s var(--rk-ease);
}

.rk-line > .col-inner:hover { box-shadow: var(--rk-shadow-lg); transform: translateY(-3px); }
.rk-line__image { margin: 0 !important; }
.rk-line__image .img-inner { border-radius: 0; }
.rk-line__body { padding: 24px 28px 28px; }
.rk-line__title { margin: 0 0 14px; font-size: 22px; }
.rk-line__title a { color: var(--rk-ink); }
.rk-line__title a:hover { color: var(--rk-primary); }

.rk-line__tag {
	display: inline-block;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: var(--rk-radius-pill);
	font-size: 13px;
	font-weight: 600;
}

.rk-line__tag--sage { background: var(--rk-sage-50); color: #3e5f22; }
.rk-line__tag--gold { background: var(--rk-gold-50); color: var(--rk-gold-700); }

@media (max-width: 549px) {
	.rk-line { padding-bottom: 16px !important; }
	.rk-line__body { padding: 18px 18px 22px; }
	.rk-line__title { font-size: 19px; }
}

/* Tabs sản phẩm */
.rk-anchor { display: block; position: relative; top: -120px; visibility: hidden; }

.rk-tabs > .nav {
	gap: 8px;
	margin-bottom: 24px;
}

.rk-tabs > .nav > li > a {
	padding: 8px 20px;
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius-pill);
	background: #fff;
	font-size: 15px;
	font-weight: 500;
	color: var(--rk-text);
	text-transform: none;
	letter-spacing: 0;
}

.rk-tabs > .nav > li.active > a,
.rk-tabs > .nav > li > a:hover {
	border-color: var(--rk-ink);
	background: var(--rk-ink);
	color: #fff;
}

/* Về Rikai Suru */
.rk-story > .section-content {
	background: var(--rk-cream);
	margin: 0 auto;
	max-width: 1280px;
	border-radius: 32px;
	padding: 56px 20px;
}

.rk-story__title { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 16px; }
.rk-story__copy p { color: var(--rk-muted); }
.rk-story__copy p strong { color: var(--rk-ink); }
.rk-story__doc .img-inner { border-radius: var(--rk-radius); box-shadow: var(--rk-shadow); overflow: hidden; }

@media (max-width: 849px) {
	.rk-story > .section-content { border-radius: 0; padding: 40px 0; }
}

/* Đánh giá khách hàng */
.rk-reviews {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.rk-review {
	margin: 0;
	padding: 24px;
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	background: #fff;
}

.rk-review__stars { color: var(--rk-gold); letter-spacing: 2px; margin-bottom: 10px; }
.rk-review__text { margin: 0 0 16px; padding: 0; border: 0; font-size: 15px; font-style: normal; color: var(--rk-text); }
.rk-review figcaption strong { display: block; color: var(--rk-ink); }
.rk-review figcaption a { font-size: 13px; color: var(--rk-muted); }

@media (max-width: 849px) {
	.rk-reviews { grid-template-columns: 1fr; }
}

/* Blog */
.rk-posts .post-item .col-inner,
.blog-archive .post-item .col-inner {
	height: 100%;
	border-radius: var(--rk-radius);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--rk-line);
	transition: box-shadow .3s var(--rk-ease);
}

.rk-posts .post-item .col-inner:hover,
.blog-archive .post-item .col-inner:hover { box-shadow: var(--rk-shadow-lg); }

.rk-posts .box-text,
.blog-archive .post-item .box-text { padding: 16px 18px 20px; }

.rk-posts .post-title,
.blog-archive .post-item .post-title {
	font-size: 17px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rk-posts .is-divider { display: none; }
.rk-posts .post-meta,
.rk-posts .post-date { font-size: 13px; color: var(--rk-muted); }

.post-item .badge.post-date { display: none; }

@media (max-width: 549px) {
	.rk-posts > .col:nth-child(n+3) { display: none; }
}

/* Đại lý */
.rk-partner { padding-bottom: var(--rk-section-y) !important; }

.rk-partner > .section-content {
	max-width: 1280px;
	margin: 0 auto;
	border-radius: 32px;
	background:
		radial-gradient(600px 300px at 90% 0%, rgba(201, 164, 92, .22), transparent 70%),
		var(--rk-ink);
	padding: 56px 20px;
	color: rgba(255, 255, 255, .85);
}

.rk-partner .rk-eyebrow { color: var(--rk-gold); }
.rk-partner__title { color: #fff; font-size: clamp(26px, 3vw, 36px); margin: 0 0 14px; }
.rk-partner__image .img-inner { border-radius: var(--rk-radius); overflow: hidden; }
.rk-partner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.rk-partner .rk-hotline,
.rk-partner .rk-hotline__text strong { color: #fff; }
.rk-partner .rk-hotline__text small { color: rgba(255, 255, 255, .65); }
.rk-partner .rk-hotline .rk-icon { background: var(--rk-gold); color: var(--rk-ink); }
.rk-partner .button.white.is-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.rk-partner .button.white.is-outline:hover { background: #fff; color: var(--rk-ink); }

@media (max-width: 849px) {
	.rk-partner > .section-content { border-radius: 0; padding: 40px 0; }
}

/* Trang Liên hệ */
.rk-page-hero {
	padding: 64px 0 56px !important;
	background:
		radial-gradient(800px 300px at 50% 0%, rgba(145, 176, 109, .2), transparent 70%),
		var(--rk-cream);
	text-align: center;
}

.rk-page-hero__title { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
.rk-page-hero__sub { max-width: 620px; margin: 0 auto 24px; color: var(--rk-muted); }
.rk-page-hero .searchform-wrapper { max-width: 560px; margin: 0 auto; }
.rk-page-hero .search-field { height: 52px; border-radius: var(--rk-radius-pill) 0 0 var(--rk-radius-pill); padding: 0 22px; border: 1.5px solid var(--rk-line); }
.rk-page-hero .searchform .button.icon { height: 52px; min-width: 60px; border-radius: 0 var(--rk-radius-pill) var(--rk-radius-pill) 0; }

.rk-contact { padding-bottom: var(--rk-section-y) !important; }
.rk-contact__title { font-size: 26px; margin: 0 0 20px; }
.rk-contact__sub { color: var(--rk-muted); margin: -10px 0 20px; }

.rk-contact__form > .col-inner {
	padding: 32px;
	border-radius: 24px;
	border: 1px solid var(--rk-line);
	box-shadow: var(--rk-shadow);
}

@media (max-width: 549px) {
	.rk-contact__form > .col-inner { padding: 22px 18px; }
}

/* Form (Contact Form 7) */
.rk-form label { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--rk-ink); }
.rk-form label .wpcf7-form-control-wrap { display: block; margin-top: 6px; font-weight: 400; }
.rk-form p { margin: 0; }
.rk-form br { display: none; }
.rk-form input:not([type="submit"]),
.rk-form select,
.rk-form textarea { width: 100%; max-width: none; margin-bottom: 0; }
.rk-form__row > p { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rk-form input[type="submit"] { min-height: 50px; padding: 0 32px; margin-top: 6px; }

@media (max-width: 549px) {
	.rk-form__row > p { grid-template-columns: 1fr; }
	.rk-form input[type="submit"] { width: 100%; }
}

/* Danh mục dạng nút trên trang cửa hàng */
.rk-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.rk-cat-pills li { margin: 0 !important; }

.rk-cat-pills a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius-pill);
	color: var(--rk-text);
	font-size: 15px;
	font-weight: 500;
}

.rk-cat-pills a small { color: var(--rk-muted); font-size: 12px; }
.rk-cat-pills a:hover { border-color: var(--rk-ink); color: var(--rk-ink); }
.rk-cat-pills .is-active a { background: var(--rk-ink); border-color: var(--rk-ink); color: #fff; }
.rk-cat-pills .is-active a small { color: rgba(255, 255, 255, .7); }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], select, textarea {
	border-radius: var(--rk-radius-sm);
	border-color: var(--rk-line);
	box-shadow: none;
	font-size: 16px; /* tránh iOS tự phóng to khi nhập */
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="password"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
	border-color: var(--rk-primary);
	box-shadow: 0 0 0 3px rgba(11, 107, 115, .12);
}

.wpcf7 form .wpcf7-response-output { border-radius: var(--rk-radius-sm); margin: 12px 0 0; }

/* 7. Trang sản phẩm
   ------------------------------------------------------------------------- */
.product-main { padding-top: 32px; padding-bottom: 24px; }

.product-gallery .woocommerce-product-gallery__image,
.product-gallery .product-images .flickity-viewport,
.product-gallery-slider .slide img {
	border-radius: 20px;
	overflow: hidden;
}

.product-info .product-title {
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.25;
	margin-bottom: 12px;
}

.product-info .is-divider { display: none; }

.product-info .price-wrapper { display: inline-block; vertical-align: middle; }

.product-info .price-wrapper .price {
	font-size: 28px;
	font-weight: 700;
	color: var(--rk-primary);
	margin: 4px 0 8px;
}

.product-info .price-wrapper .price del { font-size: 18px; color: var(--rk-muted); font-weight: 400; }

.phan-tram-km {
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 4px 12px;
	padding: 3px 10px;
	border-radius: var(--rk-radius-pill);
	background: var(--rk-gold);
	color: var(--rk-ink);
	font-size: 14px;
	font-weight: 700;
}

.product-info .product-short-description {
	padding: 18px 20px;
	margin: 8px 0 20px;
	border-radius: var(--rk-radius);
	background: var(--rk-cream);
	font-size: 15px;
}

.product-info .product-short-description ul { margin-bottom: 8px; }
.product-info .product-short-description li { margin-bottom: 4px; }

/* Form mua hàng (nút nằm trong khung "sticky add to cart" của Flatsome) */
.product-info form.cart { margin-bottom: 20px; }
.product-info form.cart .sticky-add-to-cart-wrapper { width: 100%; }

.product-info form.cart,
.product-info form.cart .sticky-add-to-cart:not(.sticky-add-to-cart--active) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

/* Thanh mua hàng dính khi cuộn: gọn, đủ lớn để bấm trên điện thoại */
.sticky-add-to-cart--active { gap: 10px; padding: 10px 16px !important; }
.sticky-add-to-cart--active .single_add_to_cart_button,
.sticky-add-to-cart--active .buy_now_button { min-height: 46px !important; flex: 0 1 auto !important; padding: 0 20px !important; }
.sticky-add-to-cart--active .quantity { display: none !important; }

@media (max-width: 549px) {
	.sticky-add-to-cart--active .sticky-add-to-cart__product { display: none; }
	.sticky-add-to-cart--active .single_add_to_cart_button,
	.sticky-add-to-cart--active .buy_now_button { flex: 1 1 0 !important; padding: 0 10px !important; font-size: 15px !important; }
}

.product-info form.cart .quantity {
	margin: 0;
	opacity: 1;
	border: 1.5px solid var(--rk-line);
	border-radius: var(--rk-radius-pill);
	overflow: hidden;
}

.product-info form.cart .quantity .button,
.product-info form.cart .quantity input.qty {
	height: 50px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.product-info form.cart .quantity .button { width: 40px; border-radius: 0; color: var(--rk-ink); }
.product-info form.cart .quantity input.qty { width: 46px; font-weight: 600; }

.product-info .single_add_to_cart_button,
.product-info .buy_now_button {
	flex: 1 1 180px;
	min-height: 52px;
	margin: 0;
	padding: 0 24px;
	font-size: 16px;
	border-radius: var(--rk-radius-pill);
}

.product-info .single_add_to_cart_button {
	background: #fff !important;
	color: var(--rk-primary) !important;
	border: 1.5px solid var(--rk-primary) !important;
}

.product-info .single_add_to_cart_button:hover { background: var(--rk-sage-50) !important; }

.product-info .buy_now_button {
	order: 3;
	background: var(--rk-primary);
	color: #fff;
	border: 1.5px solid var(--rk-primary);
	box-shadow: 0 10px 24px rgba(11, 107, 115, .25);
}

.product-info .buy_now_button:hover { background: var(--rk-primary-700); color: #fff; }

.devvn-quickbuy .buy_now_button.loading { color: rgba(255, 255, 255, .15); pointer-events: none; position: relative; }

.devvn-quickbuy .buy_now_button.loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid #fff;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spin .6s infinite linear;
}

.devvn-quickbuy .single_add_to_cart_button.loading::after { display: none; }

/* Hộp quà tặng */
.qua-tang-box {
	margin: 0 0 20px;
	padding: 16px 18px;
	border: 1.5px dashed var(--rk-gold);
	border-radius: var(--rk-radius);
	background: var(--rk-gold-50);
}

.qua-tang-box__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 700; color: var(--rk-ink); }
.qua-tang-box__title .rk-icon { color: var(--rk-gold-700); width: 20px; height: 20px; }
.qua-tang-box .row-gift { display: flex; gap: 8px; font-size: 14px; margin-bottom: 4px; }
.qua-tang-box .row-gift .label { font-weight: 600; color: var(--rk-gold-700); white-space: nowrap; }

/* Cam kết dưới nút mua */
.product-info .rk-trust--plain {
	padding: 18px 0 0;
	border-top: 1px solid var(--rk-line);
	margin-bottom: 16px;
}

.product_meta { font-size: 14px; color: var(--rk-muted); }

/* Tabs mô tả */
.product-footer .woocommerce-tabs { padding-top: 32px; border-top: 1px solid var(--rk-line); }
.product-footer .woocommerce-tabs > .nav { justify-content: flex-start; }
.product-footer .woocommerce-tabs > .nav > li > a { font-size: 18px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--rk-ink); }
.product-footer .woocommerce-Tabs-panel { max-width: 860px; font-size: 16px; line-height: 1.75; }

.rk-collapsible { position: relative; overflow: hidden; transition: max-height .4s var(--rk-ease); }
.rk-collapsible.is-collapsed { max-height: 460px; }

.rk-collapsible.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 85%);
	pointer-events: none;
}

.rk-readmore {
	display: block;
	margin: 12px 0 0;
	padding: 0 24px;
	min-height: 44px;
	border: 1.5px solid var(--rk-line);
	border-radius: var(--rk-radius-pill);
	background: #fff;
	color: var(--rk-ink);
	font-weight: 600;
	cursor: pointer;
}

.rk-readmore:hover { border-color: var(--rk-ink); }

/* Banner khuyến mại dưới sản phẩm (block "banner-khuyen-mai") */
.banner-km .img-inner,
.banner-km img { border-radius: var(--rk-radius); overflow: hidden; }

/* Đánh giá (plugin DevVN Reviews) – đồng bộ màu thương hiệu */
.star_box { border-color: var(--rk-line); border-radius: var(--rk-radius); padding: 20px; }
span.star_average,
body .star-average .woocommerce-product-rating .star-rating,
body.woocommerce #reviews .star-rating,
.woocommerce #reviews .star-rating span::before { color: var(--rk-gold); }
span.devvn_num_reviews,
.note_review a,
span.btn-attach { color: var(--rk-primary); }
span.devvn_perc_rating { background: var(--rk-gold) !important; }

#comments a.btn-reviews-now,
.woocommerce #review_form #respond p.form-submit input#submit {
	background-color: var(--rk-primary);
	border-radius: var(--rk-radius-pill);
	text-transform: none;
	letter-spacing: 0;
	padding: 12px 26px;
}

#comments a.btn-reviews-now:hover { background-color: var(--rk-primary-700); }
button#devvn_cmt_submit,
button#devvn_cmt_replysubmit { background: var(--rk-ink); color: #fff; border-radius: var(--rk-radius-pill); }
div#reviews.woocommerce-Reviews { border-bottom-color: var(--rk-line); }

/* Sản phẩm liên quan */
.rk-related { padding: 40px 0 8px; margin-top: 24px; border-top: 1px solid var(--rk-line); }
.rk-related .product-section-title { padding-left: 0; margin-bottom: 16px; }
.related-products-wrapper .product-section-title,
.related .product-section-title {
	font-size: 26px;
	text-transform: none;
	letter-spacing: 0;
}

/* Thanh mua hàng dính dưới màn hình (mobile) */
.sticky-add-to-cart--active {
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(8px);
	box-shadow: 0 -8px 24px rgba(18, 54, 59, .1);
	border-top: 1px solid var(--rk-line);
}

@media (max-width: 549px) {
	.product-info form.cart .quantity { flex: 0 0 auto; }
	.product-info .single_add_to_cart_button { flex: 1 1 0; }
	.product-info .buy_now_button { flex: 1 1 100%; }
	.product-info .price-wrapper .price { font-size: 24px; }
}

/* Trang danh mục / cửa hàng */
div.shop-page-title { background: var(--rk-cream); border-bottom: 1px solid var(--rk-line); }
h1.shop-page-title { margin-bottom: 4px; }
.shop-page-title .page-title-inner { padding-top: 22px; padding-bottom: 22px; }
.category-page-row { padding-top: 32px; }
.woocommerce-result-count { color: var(--rk-muted); font-size: 14px; }
.woocommerce-ordering select { border-radius: var(--rk-radius-pill); padding: 0 36px 0 16px; height: 42px; }

.shop-sidebar .widget,
#shop-sidebar .widget {
	padding: 20px;
	border: 1px solid var(--rk-line);
	border-radius: var(--rk-radius);
	margin-bottom: 20px;
}

.shop-sidebar .widget-title,
#shop-sidebar .widget-title { font-size: 15px; letter-spacing: .06em; color: var(--rk-ink); }
.shop-sidebar .is-divider,
#shop-sidebar .is-divider { display: none; }

/* 8. Giỏ hàng / thanh toán / tài khoản
   ------------------------------------------------------------------------- */
.cart-container,
.checkout-page-title + .cart-container { padding-top: 24px; }

.woocommerce-cart .cart_totals,
.woocommerce-checkout .checkout-sidebar,
.woocommerce-checkout #order_review,
.cart-collaterals .cart-sidebar .col-inner {
	border-radius: var(--rk-radius);
}

.cart-sidebar .col-inner,
.checkout-sidebar.col-inner,
.has-border { border-color: var(--rk-line) !important; border-radius: var(--rk-radius); }

.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout #place_order {
	min-height: 54px;
	font-size: 17px;
	background: var(--rk-primary);
	border-radius: var(--rk-radius-pill);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.message-container {
	border-radius: var(--rk-radius-sm);
}

.checkout-breadcrumbs a,
.checkout-breadcrumbs .current { text-transform: none; letter-spacing: 0; }

.account-container .form-row input,
.woocommerce-form-login input { min-height: 46px; }

/* Off-canvas giỏ hàng */
.off-canvas-cart .widget_shopping_cart_content .button.checkout { background: var(--rk-primary); }
.widget_shopping_cart .button { border-radius: var(--rk-radius-pill); }

/* 9. Blog & trang nội dung
   ------------------------------------------------------------------------- */
div.page-title:not(.featured-title) { background: var(--rk-cream); }

/* Trang 404 */
.error-404 { padding: 40px 0; }
.error-404 .header-font { color: var(--rk-primary); opacity: .25 !important; font-family: "Lora", serif; }
.error-404 .searchform .search-field { height: 48px; border-radius: var(--rk-radius-pill) 0 0 var(--rk-radius-pill); padding: 0 20px; }
.error-404 .searchform .button.icon { height: 48px; min-width: 56px; border-radius: 0 var(--rk-radius-pill) var(--rk-radius-pill) 0; }

.blog-single .entry-title,
.single-post .entry-title { font-size: clamp(26px, 3.4vw, 40px); }

.entry-content { font-size: 16.5px; line-height: 1.8; }
.entry-content h2 { font-size: 26px; margin-top: 1.6em; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content img { border-radius: var(--rk-radius-sm); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content .button { text-decoration: none; }

.single-post .article-inner,
.blog-single .article-inner { max-width: 820px; margin: 0 auto; }

.rank-math-breadcrumb,
.woocommerce-breadcrumb,
.breadcrumbs {
	font-size: 13px;
	color: var(--rk-muted);
	text-transform: none;
	letter-spacing: 0;
}

.rank-math-breadcrumb a,
.breadcrumbs a { color: var(--rk-muted); }

.widget-title { letter-spacing: .04em; }

/* 10. Footer
   ------------------------------------------------------------------------- */
.footer-wrapper { background: var(--rk-ink-900); }

.rk-newsletter {
	background: var(--rk-cream);
	padding: 48px 0 !important;
	border-top: 1px solid var(--rk-line);
}

.rk-newsletter__title { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 6px; }
.rk-newsletter__sub { color: var(--rk-muted); margin: 0; }
.rk-newsletter .form-email,
.rk-newsletter .form-email > p { display: flex; gap: 8px; margin: 0; }
.rk-newsletter .form-email > p { flex: 1; }
.rk-newsletter .form-email br { display: none; }
.rk-newsletter .form-email .wpcf7-form-control-wrap { flex: 1; }

.rk-newsletter .form-email input[type="email"] {
	height: 52px;
	margin: 0;
	padding: 0 22px;
	border-radius: var(--rk-radius-pill);
	border: 1.5px solid var(--rk-line);
	background: #fff;
}

.rk-newsletter .form-email input[type="submit"] {
	height: 52px;
	margin: 0;
	padding: 0 28px;
	border-radius: var(--rk-radius-pill);
	background: var(--rk-ink);
	color: #fff;
}

.rk-newsletter .form-email input[type="submit"]:hover { background: var(--rk-primary); }
.rk-newsletter .wpcf7-spinner { position: absolute; }

@media (max-width: 549px) {
	.rk-newsletter .form-email,
	.rk-newsletter .form-email > p { flex-direction: column; }
	.rk-newsletter .form-email input[type="submit"] { width: 100%; }
}

.rk-footer {
	background: var(--rk-ink) !important;
	padding: 64px 0 32px !important;
	color: rgba(255, 255, 255, .75);
	font-size: 15px;
}

.rk-footer .section-bg { background: var(--rk-ink) !important; }
.rk-footer p { color: rgba(255, 255, 255, .72); }

.rk-footer__logo { margin-bottom: 16px !important; }

.rk-footer__logo img {
	max-width: 190px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff;
}

.rk-footer__title {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rk-gold) !important;
	font-family: inherit;
}

.rk-footer__links { list-style: none; margin: 0; padding: 0; }
.rk-footer__links li { margin: 0 0 10px; }
.rk-footer__links a { color: rgba(255, 255, 255, .78); }
.rk-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.absolute-footer {
	font-size: 13px;
	padding: 18px 0 !important;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.absolute-footer,
.absolute-footer .copyright-footer { color: rgba(255, 255, 255, .55); }

#top-link {
	border-radius: 50% !important;
	background: var(--rk-primary);
	color: #fff;
	border: 0;
	box-shadow: var(--rk-shadow);
}

/* Giảm chuyển động nếu người dùng yêu cầu */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
