/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
caption,
figcaption,
p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

.wp-block-post-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px;
}

footer.wp-block-template-part,
header.wp-block-template-part {
	display: none;
}

.price-contact,
.woocommerce-Price-amount.amount {
	font-weight: 700;
	color: red;
}

.wp-block-woocommerce-product-price {
	margin-top: 0;
}

.wp-block-post-excerpt__excerpt {
	font-size: 16px;
	font-weight: 400;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: 24px;
	font-weight: 700;
	display: none;
}

.woocommerce div.product .woocommerce-tabs .panel h1 {
	font-size: 24px;
	font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs .panel h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 10px;
}

.woocommerce div.product .woocommerce-tabs .panel p {
	font-size: 16px;
	line-height: 28px;
	font-weight: 300;
}

.wp-block-woocommerce-product-meta {
	display: none;
}

html body .wp-block-woocommerce-product-details.is-style-minimal ul.tabs.wc-tabs li.active a {
	background-color: #111;
	color: #fff;
}

.wp-block-woocommerce-product-details>div {
	background: #f1f1f1;
	padding: 50px 40px;
	border-radius: 6px;
	margin-top: 50px;
}

ul,
ol,
tr,
td {
	font-size: 16px;
}

.wp-block-woocommerce-add-to-cart-form {
	display: none;
}

.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
	display: none;
}

/**
 * ===================================================================
 * LÀM ĐẸP LẠI KHUNG SẮP XẾP VÀ PHÂN TRANG WOOCOMMERCE
 * ===================================================================
 */

/* --- 1. KHU VỰC SẮP XẾP SẢN PHẨM (SORTING) --- */

/* Container chứa dòng "Hiển thị kết quả" và dropdown */
.woocommerce .woocommerce-products-header,
.woocommerce-form-or,
.woocommerce-ordering {
	margin-bottom: 2.5em;
	/* Tăng khoảng cách với sản phẩm */
}

/* Chữ "Hiển thị 1–12 của X kết quả" */
.woocommerce-result-count {
	color: #666;
	font-size: 15px;
	line-height: 1;
}

/* Dropdown sắp xếp */
.woocommerce-ordering .orderby {
	/* Reset giao diện mặc định của trình duyệt */
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	/* Giao diện mới */
	padding: 12px 40px 12px 18px;
	/* Tăng padding phải cho mũi tên */
	border: 1px solid #ddd;
	border-radius: 8px;
	/* Bo góc mềm mại hơn */
	background-color: #fff;
	font-size: 15px;
	color: #555;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

	/* Mũi tên tùy chỉnh (dạng SVG) */
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23555555%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.4-5.4-13z%22%2F%3E%3C%2Fsvg%3E');
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 10px auto;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hiệu ứng khi di chuột hoặc focus */
.woocommerce-ordering .orderby:hover {
	border-color: #03a9f4;
	/* Màu xanh dương */
}

.woocommerce-ordering .orderby:focus {
	outline: none;
	border-color: #03a9f4;
	box-shadow: 0 0 0 3px rgba(3, 169, 244, 0.2);
}

.wc-block-product-template.is-flex-container {
	margin-bottom: 30px;
}

.footer-column p {
	font-size: 16px;
	line-height: 1.8 !important;
}

.wp-block-post-title :where(a) {
	font-size: 16px;
	line-height: 24px;
	font-weight: 600;
}

.wp-block-heading {
	font-family: Roboto, sans-serif;
	font-size: 22px;
	font-weight: 600;
	color: rgb(2, 5, 90);
	text-transform: uppercase;
}

.wp-block-product-collection-is-layout-flow {
	margin-top: 50px;
}