/*
Theme Name: MHXSTUDIO-Fashion
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 8.5.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
	--fashion-ink: #111111;
	--fashion-muted: #7a7468;
	--fashion-line: #e6e2d5;
	--fashion-cream: #f0ede2;
	--fashion-accent: #6f5f4e;
	--fashion-sale: #DF0000;
	--fashion-sale-dark: #b80000;
}

/* Kích thước theo site mẫu ở khổ desktop */
.header-main .header-nav-main.nav > li > a { font-size: 16px; font-weight: 400; }
/* Flatsome thu nhỏ chữ topbar bằng .nav-small.nav > li.html nên cần selector mạnh hơn */
.header-top .nav > li.html.custom { color: var(--fashion-ink); font-size: 15px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.header-top { min-height: 40px; }

/* Tiêu đề khối */
.section-title-center span,
.section-title-normal span { text-transform: none; letter-spacing: 0; }
.fashion-heading { text-align: center; font-size: 27px; margin-bottom: .75em; color: var(--fashion-ink); }
.nav-tabs + .tab-panels,
.tabbed-content .tab-panels { padding-top: 16px; }

.page-wrapper .entry-header { text-align: center; }
.page-wrapper .entry-header .entry-title { font-size: 1.6em; letter-spacing: .02em; }

/* Menu cấp 1: gạch chân chạy ra khi hover và ở mục đang xem */
.header-nav-main.nav-left > li > a { position: relative; color: var(--fashion-ink); }
.header-nav-main.nav-left > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--fashion-ink); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.header-nav-main.nav-left > li:hover > a::after,
.header-nav-main.nav-left > li.active > a::after { transform: scaleX(1); }
/* Khi rê sang mục khác, mục đang xem tạm ẩn gạch chân để chỉ còn một gạch */
.header-nav-main.nav-left:hover > li.active:not(:hover) > a::after { transform: scaleX(0); }
/* Mega menu mở ở đáy header, cách mục menu một khe; vùng đệm này giữ menu mở khi rê chuột qua khe */
.header-nav-main.nav-left > li.has-dropdown:hover > a::before { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 26px; }
.header-nav-main.nav-left > li > a > .icon-angle-down { margin-left: 3px; font-size: .75em; opacity: .55; transition: transform .25s ease; }
.header-nav-main.nav-left > li:hover > a > .icon-angle-down { transform: rotate(180deg); }

/* Khung dropdown dùng chung cho menu, tìm kiếm và giỏ hàng */
.header-nav .nav-dropdown { border: 0; border-radius: 4px; box-shadow: 0 14px 34px rgba(17, 17, 17, .1); }
.header-nav-main.nav-left > li > .nav-dropdown-default { padding: 12px 0; }

/* Menu cấp 2. Cột mega menu cũng mang class nav-dropdown-default nên phải chặn bằng .nav-dropdown */
.header-nav .nav-dropdown.nav-dropdown-default > li:not(.nav-dropdown-col) > a { margin: 0; padding: 9px 24px; border-bottom: 0; color: #4a4640; font-size: 15px; letter-spacing: 0; text-transform: none; transition: color .2s, background-color .2s, padding-left .2s; }
.header-nav .nav-dropdown.nav-dropdown-default > li:not(.nav-dropdown-col) > a:hover { padding-left: 28px; background: var(--fashion-cream); color: var(--fashion-ink); }

/* Mega menu: tiêu đề cột là cấp 2, link bên dưới là cấp 3 */
.header-nav-main.nav-left > li.menu-item-design-container-width > .nav-dropdown { padding: 26px 18px 18px; }
.header-nav .nav-dropdown-col > a { margin: 0 16px 8px; padding: 0 0 10px; border-bottom: 1px solid var(--fashion-line); color: var(--fashion-ink); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.header-nav .nav-dropdown-col > a[href="#"] { cursor: default; }
.header-nav .nav-dropdown .nav-column > li > a { margin: 0 16px; padding: 7px 0; border-bottom: 0; color: #4a4640; font-size: 15px; letter-spacing: 0; text-transform: none; transition: color .2s; }
.header-nav .nav-dropdown .nav-column > li > a:hover { color: var(--fashion-ink); text-decoration: underline; text-underline-offset: 4px; }

/* Icon header: cùng một kiểu nét vẽ */
.header-main .icon-search { --fashion-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E"); }
.header-main .icon-user { --fashion-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 20.500v-1a5 5 0 0 1 5-5h4a5 5 0 0 1 5 5v1'/%3E%3C/svg%3E"); }
.header-main .icon-shopping-bag { --fashion-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12.500H6z'/%3E%3Cpath d='M9 8V6.500a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.header-main .icon-menu { --fashion-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.header-main .icon-search::before,
.header-main .icon-user::before,
.header-main .icon-shopping-bag::before,
.header-main .icon-menu::before { content: ""; display: block; width: 22px; height: 22px; background-color: currentColor; -webkit-mask: var(--fashion-ico) center / contain no-repeat; mask: var(--fashion-ico) center / contain no-repeat; }
.header-main .searchform .icon-search::before { width: 18px; height: 18px; }
.header-main .nav-right > li.has-icon,
.header-main .mobile-nav > li.has-icon { margin-left: 6px; margin-right: 6px; }
.header-main .nav-right > li.has-icon > a,
.header-main .mobile-nav > li.has-icon > a { color: var(--fashion-ink); opacity: 1; transition: color .2s; }
.header-main .nav-right > li.has-icon > a:hover,
.header-main .mobile-nav > li.has-icon > a:hover { color: var(--fashion-accent); }
.header-main .cart-item i[data-icon-label]::after { top: -7px; right: -9px; min-width: 17px; height: 17px; padding: 0 4px; border: 0; background: var(--fashion-ink); box-shadow: none; color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; transform: none; }

/* Ô tìm kiếm trong dropdown */
.header-search-dropdown .nav-dropdown { min-width: 320px; padding: 16px; }
/* Ô tìm kiếm nằm sát mép phải nên mở sang trái, không tràn ra ngoài màn hình */
.header-nav .header-search-dropdown:hover > .nav-dropdown,
.header-nav .header-search-dropdown.current-dropdown > .nav-dropdown { left: auto; right: -15px; }
.header-search-dropdown .search-field { height: 42px; border-color: var(--fashion-line); box-shadow: none; }
.header-search-dropdown .ux-search-submit { height: 42px; }

/* Menu mobile */
.mobile-sidebar .nav-sidebar > li > a { color: var(--fashion-ink); font-size: 15px; }
.mobile-sidebar .nav-sidebar .sub-menu > li > a { color: #4a4640; font-size: 14px; letter-spacing: 0; text-transform: none; }
.mobile-sidebar .nav-sidebar .sub-menu .sub-menu > li > a { padding-left: 34px; color: var(--fashion-muted); }
.searchform .ux-search-submit { background-color: var(--fashion-ink); }

/* Thẻ sản phẩm */
.product-small .box-text { padding-top: 10px; padding-bottom: 12px; }
.product-small .name.product-title,
.product-small .woocommerce-loop-product__title { font-size: 15px; line-height: 1.35; }
.product-small .price { font-size: 14px; }
.product-small .price ins .amount,
.product-small .price > .amount { color: var(--fashion-sale); font-weight: 700; }
.product-small .price del .amount { color: var(--fashion-muted); font-weight: 400; }
.badge-container .badge-frame { margin-left: 0; }
.badge-container .badge-frame .badge-inner.on-sale { background: var(--fashion-sale); border: 0; color: #fff; }

/* Banner */
.slider .flickity-page-dots .dot { pointer-events: auto; }
.fashion-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.product-category .box-text h5,
.product-category .box-text .uppercase { text-transform: none; letter-spacing: 0; font-size: .95em; }

/* Flash sale */
.fashion-flash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 8px; }
.fashion-flash-head h2 { display: inline-flex; flex: 0 1 auto; width: auto; align-items: center; gap: 10px; margin: 0; color: var(--fashion-ink); font-size: 32px; text-transform: uppercase; }
.fashion-flash-head h2::after { content: ""; flex: 0 0 auto; width: 34px; height: 42px; background: var(--fashion-sale); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32'%3E%3Cpath d='M14 0c1 6 9 10 11 18 2 8-4 14-12 14S0 26 1 19c1-4 4-6 5-10 2 2 3 4 3 6 3-4 5-9 5-15z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 32'%3E%3Cpath d='M14 0c1 6 9 10 11 18 2 8-4 14-12 14S0 26 1 19c1-4 4-6 5-10 2 2 3 4 3 6 3-4 5-9 5-15z'/%3E%3C/svg%3E") center / contain no-repeat; }
.fashion-flash-head .ux-timer { display: flex; gap: 10px; width: auto; margin: 0; }
.fashion-flash-head .ux-timer span { display: block; width: 56px; padding: 10px 0 8px; border-radius: 4px; background: var(--fashion-cream); color: var(--fashion-ink); font-size: 32px; font-weight: 700; line-height: 1.1; }
.fashion-flash-head .ux-timer span strong { margin-top: 6px; font-family: inherit; font-size: 11px; font-weight: 400; text-transform: none; opacity: 1; }

/* Tab */
.fashion-tabs .nav { gap: 32px; }
.fashion-tabs .nav > li { margin: 0; }
.fashion-tabs .nav > li > a { padding: 8px 0; color: #9a9a9a; font-size: 18px; font-weight: 400; letter-spacing: 0; }
.fashion-tabs .nav > li.active > a,
.fashion-tabs .nav > li > a:hover { color: var(--fashion-ink); }
.fashion-tabs .nav > li > a::before { height: 2px; background-color: var(--fashion-ink); }
.fashion-tabs--bar .nav { gap: 8px; border-bottom: 1px solid var(--fashion-line); }
.fashion-tabs--bar .nav > li > a { padding: 14px 16px; }

/* Dải chính sách */
.fashion-policies .featured-box h5 { margin-bottom: 4px; font-size: 15px; line-height: 1.35; text-transform: none; letter-spacing: 0; }
.fashion-policies .featured-box p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--fashion-muted); }

/* Nút slider sản phẩm tương tự, sản phẩm đã xem, danh mục và các sản phẩm khác */
.fashion-viewed { padding: 32px 0 20px; }
.product-footer .related.product-section { border-top: 0; padding-top: 12px; }
.product-footer .related .product-section-title,
.fashion-viewed .fashion-heading { margin: 0 0 18px; padding: 0; color: var(--fashion-ink); font-size: 26px; font-weight: 700; letter-spacing: 0; line-height: 1.3; text-align: left; text-transform: none; }
.product-footer .related .slider .flickity-prev-next-button,
.fashion-viewed .slider .flickity-prev-next-button,
.row.slider.row-slider:has(.product-category) .flickity-prev-next-button,
.row.slider.row-slider:has(.product-small) .flickity-prev-next-button { top: 40%; bottom: auto; width: 42px; height: 42px; margin: -21px 0 0 !important; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 2px 10px rgba(17, 17, 17, .08); color: var(--fashion-ink); opacity: 1; transform: none; transition: background-color .2s, opacity .2s, box-shadow .2s; }
.product-footer .related .slider .flickity-prev-next-button:hover,
.fashion-viewed .slider .flickity-prev-next-button:hover,
.row.slider.row-slider:has(.product-category) .flickity-prev-next-button:hover,
.row.slider.row-slider:has(.product-small) .flickity-prev-next-button:hover { background: #fff; box-shadow: 0 4px 14px rgba(17, 17, 17, .16); }
/* Kiểu "reveal" của Flatsome đặt vị trí bằng !important nên phải ghi đè tương tự */
.product-footer .related .slider .flickity-prev-next-button.previous,
.fashion-viewed .slider .flickity-prev-next-button.previous,
.row.slider.row-slider:has(.product-category) .flickity-prev-next-button.previous,
.row.slider.row-slider:has(.product-small) .flickity-prev-next-button.previous { right: auto !important; left: 12px !important; }
.product-footer .related .slider .flickity-prev-next-button.next,
.fashion-viewed .slider .flickity-prev-next-button.next,
.row.slider.row-slider:has(.product-category) .flickity-prev-next-button.next,
.row.slider.row-slider:has(.product-small) .flickity-prev-next-button.next { right: 12px !important; left: auto !important; }
/* Mũi tên luôn ở giữa nút, màu đen. Flatsome vẽ thêm vòng viền, đổ nền và tô trắng
   mũi tên khi hover (có !important), nên phải đặt lại cả trạng thái thường lẫn hover. */
.product-footer .related .slider .flickity-prev-next-button svg,
.fashion-viewed .slider .flickity-prev-next-button svg,
.row.slider.row-slider:has(.product-category) .flickity-prev-next-button svg,
.row.slider.row-slider:has(.product-small) .flickity-prev-next-button svg,
.product-footer .related .slider .flickity-prev-next-button:hover svg,
.fashion-viewed .slider .flickity-prev-next-button:hover svg,
.row.slider.row-slider:has(.product-category) .flickity-prev-next-button:hover svg,
.row.slider.row-slider:has(.product-small) .flickity-prev-next-button:hover svg { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; fill: var(--fashion-ink); transform: translate(-50%, -50%); }
.product-footer .related .slider .flickity-prev-next-button .arrow,
.fashion-viewed .slider .flickity-prev-next-button .arrow,
.row.slider.row-slider:has(.product-category) .flickity-prev-next-button .arrow,
.row.slider.row-slider:has(.product-small) .flickity-prev-next-button .arrow,
.product-footer .related .slider .flickity-prev-next-button:hover .arrow,
.fashion-viewed .slider .flickity-prev-next-button:hover .arrow,
.product-category .slider .flickity-prev-next-button:hover .arrow,
.products .slider .flickity-prev-next-button:hover .arrow { border: 0; background: none; fill: var(--fashion-ink) !important; }
.product-footer .related .slider .flickity-prev-next-button:disabled,
.fashion-viewed .slider .flickity-prev-next-button:disabled,
.product-category .slider .flickity-prev-next-button:disabled,
.products .slider .flickity-prev-next-button:disabled { opacity: 0; pointer-events: none; }

/* Ô màu bằng ảnh */
.ux-swatch--image .ux-swatch__img { object-fit: cover; }
.ux-swatches-in-loop .ux-swatch--image { overflow: hidden; }

/* Footer */
.fashion-footer { font-size: .92em; color: var(--fashion-ink); }
.fashion-footer a { color: var(--fashion-ink); }
.fashion-footer a:hover { color: var(--fashion-accent); }
.fashion-footer .img { margin-bottom: 14px; }
.absolute-footer,
.absolute-footer a { color: #5f5a50; }
.fashion-footer h4 { font-size: 1em; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1em; }
.fashion-footer ul { list-style: none; margin: 0; }
.fashion-footer .col-inner ul li { margin: 0 0 .5em; }

/* Trang danh mục: cột lọc 20%, sản phẩm 80% */
@media screen and (min-width: 850px) {
	.category-page-row > .col.large-3 { flex-basis: 20%; max-width: 20%; }
	.category-page-row > .col.large-9 { flex-basis: 80%; max-width: 80%; }
}

/* Trang nội dung thường dùng mẫu trang mặc định (chính sách, hướng dẫn chọn size).
   Chỉ áp cho đoạn văn, tiêu đề, danh sách, bảng nằm trực tiếp trong trang, không đụng phần dựng bằng UX Builder. */
.page-template-default .row-main > .col > .col-inner > :is(header, p, h2, h3, h4, ul, ol, table, blockquote) { max-width: 820px; margin-right: auto; margin-left: auto; }
.page-template-default .row-main > .col > .col-inner > header.entry-header { margin-bottom: 28px; }
.page-template-default .row-main > .col > .col-inner > :is(p, ul, ol) { color: #2b2925; font-size: 16px; line-height: 1.75; }
.page-template-default .row-main > .col > .col-inner > :is(ul, ol) { padding-left: 22px; }
.page-template-default .row-main > .col > .col-inner > :is(ul, ol) li { margin-bottom: 6px; }
.page-template-default .row-main > .col > .col-inner > h2 { margin-top: 1.6em; margin-bottom: .6em; color: var(--fashion-ink); font-size: 20px; }
.page-template-default .row-main > .col > .col-inner > table { width: 100%; margin-bottom: 1.4em; }
.page-template-default .row-main > .col > .col-inner > table th { color: var(--fashion-ink); }

/* Trang chính sách và hướng dẫn */
.fashion-page__title { margin-bottom: .6em; color: var(--fashion-ink); font-size: 30px; text-transform: uppercase; }
.fashion-page__lead { max-width: 720px; margin-left: auto; margin-right: auto; color: var(--fashion-muted); font-size: 1.05em; }
.fashion-page__eyebrow { margin-bottom: 6px; color: var(--fashion-accent); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.fashion-page__body > .col-inner { max-width: 780px; }
.fashion-page__body h2 { margin: 1.5em 0 .5em; color: var(--fashion-ink); font-size: 20px; }
.fashion-page__body h2:first-of-type { margin-top: 1em; }
.fashion-page__body table { width: 100%; }
.fashion-page__nav h3 { margin-bottom: 10px; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.fashion-page__nav .ux-menu-link__link { padding: 9px 0; color: #4a4640; font-size: 15px; }
.fashion-page__nav .ux-menu-link--active .ux-menu-link__link { color: var(--fashion-ink); font-weight: 700; }
.fashion-value h3 { margin-bottom: 6px; font-size: 18px; }
.fashion-value p { margin-bottom: 0; color: #4a4640; }
.fashion-list-links li { margin-bottom: 6px; }
.fashion-list-links a { text-decoration: underline; }

/* Đầu trang tin tức và danh mục bài viết */
.fashion-blog-head { padding-top: 12px; text-align: center; }
.fashion-blog-head .fashion-heading { margin-bottom: 8px; }
.fashion-blog-head__intro { max-width: 640px; margin: 0 auto 18px; color: var(--fashion-muted); }
.fashion-blog-head__intro p { margin-bottom: 0; }
.fashion-blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 28px; }
.fashion-blog-cats a { padding: 7px 18px; border: 1px solid var(--fashion-line); border-radius: 99px; color: var(--fashion-ink); font-size: 14px; line-height: 1.4; transition: background-color .2s, border-color .2s, color .2s; }
.fashion-blog-cats a:hover,
.fashion-blog-cats a[aria-current] { border-color: var(--fashion-ink); background: var(--fashion-ink); color: #fff; }

/* Item bài viết */
.fashion-posts .box-blog-post .box-text { padding: 16px 0 6px; }
.fashion-posts .blog-post-inner { display: flex; flex-wrap: wrap; align-items: center; }
.fashion-posts .blog-post-inner > * { flex: 0 0 100%; }
.fashion-posts .post-meta { order: 1; margin: 0 0 8px; color: var(--fashion-muted); font-size: 12px; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; opacity: 1; }
.fashion-posts .post-title { order: 2; margin-bottom: 8px; font-size: 19px; line-height: 1.4; }
.fashion-posts .post-title a { color: var(--fashion-ink); transition: color .2s; }
.fashion-posts .post-title a:hover { color: var(--fashion-accent); }
.fashion-posts .is-divider { display: none; }
.fashion-posts .from_the_blog_excerpt { order: 3; margin-bottom: 12px; color: #4a4640; font-size: 14.5px; line-height: 1.65; }
.fashion-posts .button.is-link { flex: 0 0 auto; order: 4; min-height: 0; margin: 0; padding: 0 0 2px; border-bottom: 1px solid var(--fashion-ink); color: var(--fashion-ink); font-size: 13px; letter-spacing: .06em; line-height: 1.6; }
.fashion-posts .button.is-link:hover { border-color: var(--fashion-accent); color: var(--fashion-accent); }

/* Chi tiết bài viết */
.blog-single .article-inner { max-width: 820px; margin: 0 auto; }
.blog-single .entry-header-text { padding: 16px 0 24px; }
.blog-single .entry-category { margin-bottom: 12px; font-size: 12px; letter-spacing: .1em; }
.blog-single .entry-category a { color: var(--fashion-accent); }
.blog-single .entry-title { margin-bottom: 12px; color: var(--fashion-ink); font-size: 34px; line-height: 1.3; }
.blog-single .entry-divider { display: none; }
.blog-single .entry-meta { color: var(--fashion-muted); font-size: 13px; letter-spacing: .04em; text-transform: none; }
.blog-single .entry-meta a { color: inherit; }
.blog-single .entry-meta .byline { display: none; }
.blog-single .entry-image { margin-bottom: 32px; }
.blog-single .entry-content { padding-top: 0; color: #2b2925; font-size: 17px; line-height: 1.8; }
.blog-single .entry-content h2 { margin: 1.6em 0 .6em; font-size: 24px; }
.blog-single .entry-content h3 { margin: 1.4em 0 .5em; font-size: 20px; }
.blog-single .entry-content blockquote { padding: 16px 20px; border-left: 3px solid var(--fashion-accent); background: var(--fashion-cream); font-style: normal; }
.blog-single .blog-share { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--fashion-line); }
.blog-single .blog-share .is-divider { display: none; }
.fashion-related-posts { margin-top: 24px; padding: 44px 0 20px; border-top: 1px solid var(--fashion-line); }
.fashion-related-posts > .row { max-width: 1250px; }
.fashion-related-posts .fashion-posts { justify-content: center; }

/* Trang liên hệ */
.fashion-contact-info { margin: 0 0 14px; list-style: none; }
.fashion-contact-info li { display: flex; gap: 12px; margin: 0 0 14px; line-height: 1.45; }
.fashion-contact-info .fashion-icon { flex: 0 0 22px; width: 22px; height: 22px; color: var(--fashion-accent); }
.fashion-contact-info strong { display: block; color: var(--fashion-ink); font-weight: 700; }
.fashion-contact-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.fashion-contact-links .button { margin: 0; border-color: var(--fashion-ink); color: var(--fashion-ink); }
.fashion-contact-links .button:hover { background: var(--fashion-ink); color: #fff; }
/* Thẻ liên hệ */
.fashion-contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fashion-contact-card { padding: 28px 22px 24px; border: 1px solid var(--fashion-line); border-radius: 8px; background: #fff; text-align: center; transition: border-color .2s, box-shadow .2s; }
.fashion-contact-card:hover { border-color: #d6d0bf; box-shadow: 0 10px 24px rgba(17, 17, 17, .06); }
.fashion-contact-card__icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--fashion-cream); color: var(--fashion-accent); }
.fashion-contact-card__icon .fashion-icon { width: 24px; height: 24px; }
.fashion-contact-card h3 { margin-bottom: 4px; color: var(--fashion-ink); font-size: 16px; }
.fashion-contact-card p { margin-bottom: 10px; color: #4a4640; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.fashion-contact-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.fashion-contact-card__actions a { padding-bottom: 1px; border-bottom: 1px solid var(--fashion-ink); color: var(--fashion-ink); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fashion-contact-card__actions a:hover { border-color: var(--fashion-accent); color: var(--fashion-accent); }

/* Khung form và hỗ trợ nhanh */
.fashion-contact-formbox > .col-inner { padding: 32px; border: 1px solid var(--fashion-line); border-radius: 8px; }
.fashion-contact-help > .col-inner { padding: 32px; border-radius: 8px; background: var(--fashion-cream); }
.fashion-contact-formbox h2,
.fashion-contact-help h2 { margin-bottom: 6px; color: var(--fashion-ink); font-size: 22px; }
.fashion-contact-note { margin-bottom: 22px; color: var(--fashion-muted); }
.fashion-help-links { margin: 14px 0 0; list-style: none; }
.fashion-contact-help .fashion-help-links li { margin: 0; border-bottom: 1px solid #ded8c8; }
.fashion-help-links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; color: var(--fashion-ink); font-size: 15px; }
.fashion-help-links a::after { content: "→"; color: var(--fashion-accent); transition: transform .2s; }
.fashion-help-links a:hover::after { transform: translateX(4px); }

/* Form liên hệ: field và nút bo góc nhẹ */
.fashion-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.fashion-contact-form > * { grid-column: 1 / -1; }
.fashion-contact-form > p:nth-of-type(1),
.fashion-contact-form > p:nth-of-type(2) { grid-column: auto; }
.fashion-contact-form p { margin-bottom: 16px; }
.fashion-contact-form label { display: block; margin-bottom: 6px; color: var(--fashion-ink); font-size: 14px; font-weight: 600; }
.fashion-contact-form input[type="text"],
.fashion-contact-form input[type="tel"],
.fashion-contact-form input[type="email"],
.fashion-contact-form textarea { height: 46px; margin: 0; padding: 0 14px; border: 1px solid #d9d4c6; border-radius: 6px; background: #fff; box-shadow: none; color: var(--fashion-ink); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.fashion-contact-form textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.fashion-contact-form :is(input[type="text"], input[type="tel"], input[type="email"], textarea):focus { border-color: var(--fashion-ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); outline: 0; }
.fashion-contact-form :is(input[type="text"], input[type="tel"], input[type="email"], textarea)[aria-invalid="true"] { border-color: var(--fashion-sale); }
.fashion-contact-form .button { min-height: 48px; margin: 0; padding: 0 32px; border-radius: 6px; background: var(--fashion-ink); color: #fff; letter-spacing: .06em; line-height: 48px; transition: background-color .2s; }
.fashion-contact-form .button:hover { background: var(--fashion-accent); }
.fashion-field-error { display: block; margin-top: 4px; color: var(--fashion-sale); }
.fashion-form-message { margin-bottom: 16px; padding: 12px 16px; border-left: 3px solid var(--fashion-accent); border-radius: 6px; background: var(--fashion-cream); }
.fashion-form-message.is-error { border-color: var(--fashion-sale); }
.fashion-footer .fashion-contact-info li { gap: 8px; margin-bottom: 8px; }
.fashion-footer .fashion-contact-info .fashion-icon { flex-basis: 18px; width: 18px; height: 18px; }
.fashion-footer .fashion-contact-info strong { display: inline; font-weight: 400; }
.fashion-footer .fashion-contact-info strong::after { content: ": "; }

/* Mạng xã hội ở cột Kết nối trong footer. */
.fashion-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.fashion-social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--fashion-ink); border-radius: 50%; background: transparent; color: var(--fashion-ink); transition: color .2s, background-color .2s; }
.fashion-social-links a:hover,
.fashion-social-links a:focus-visible { background: var(--fashion-ink); color: #fff; }
.fashion-social-links a:focus-visible { outline: 2px solid var(--fashion-ink); outline-offset: 3px; }
.fashion-social-links svg { width: 21px; height: 21px; fill: currentColor; }
.fashion-social-links .fashion-social-links__zalo { font-size: 12px; font-weight: 700; letter-spacing: -.04em; }

/* Trang sản phẩm */
/* Ảnh nhỏ trong gallery: tỉ lệ 2:3, khung desktop vừa 5 ảnh và ẩn thanh cuộn. */
.product-gallery .product-thumbnails img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }

/* Trang sản phẩm trên desktop: cột ảnh nhỏ hẹp, khoảng trống rộng giữa ảnh và phần thông tin */
@media screen and (min-width: 850px) {
	.product-gallery .vertical-thumbnails { flex: 0 0 112px; max-width: 112px; padding: 0 32px 0 0; scrollbar-width: none; -ms-overflow-style: none; }
	.product-gallery .vertical-thumbnails::-webkit-scrollbar { display: none; }
	.product-gallery .row > .col.large-10 { flex: 1 1 0; max-width: calc(100% - 112px); }
	.product-gallery .vertical-thumbnails .product-thumbnails { margin: 0; }
	.product-gallery .vertical-thumbnails .col { width: 100% !important; margin: 0; padding: 0 0 18px !important; }
	.product-gallery .vertical-thumbnails .col a { display: block; padding: 2px; border: 1px solid transparent; border-radius: 3px; transition: border-color .2s; }
	.product-gallery .vertical-thumbnails .col.is-nav-selected a { border-color: var(--fashion-ink); }
	.product-gallery .vertical-thumbnails .col img { opacity: 1; }
	.product-main .product-info { padding-left: 48px; }
}
@media screen and (min-width: 850px) and (max-width: 1199px) {
	.product-main .product-info { padding-left: 28px; }
}

/* Khoảng cách các khối bên phải */
.product-info .product-title { margin-bottom: 8px; }
.product-info .fashion-product-meta { margin: 0 0 18px; }
.product-info .price-wrapper { margin-bottom: 12px; }
.product-info .product-short-description { margin-bottom: 4px; }
.product-info .fashion-promo { margin: 24px 0 28px; }
.product-info table.variations tr { margin-bottom: 22px; }
.product-info .woocommerce-variation-add-to-cart,
.product-info form.cart:not(.variations_form) { gap: 12px; margin-top: 8px; }
.product-info .fashion-hotline { margin: 24px 0 18px; }
.product-info .fashion-trust { gap: 16px 20px; margin-bottom: 8px; padding-top: 20px; }
.product-info .product-page-accordian { margin-top: 36px; }
.fashion-product-meta { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: -4px 0 12px; color: var(--fashion-ink); font-size: 14px; }
.fashion-product-meta a,
.fashion-sku { color: var(--fashion-accent); }
.fashion-product-meta a:hover { color: var(--fashion-ink); }

/* Accordion Mô tả sản phẩm, Chính sách giao hàng */
.product-info .product-page-accordian { clear: both; margin-top: 22px; }
.product-info .product-page-accordian .accordion-title { padding: 18px 32px 18px 0; border-top: 0; border-bottom: 1px solid var(--fashion-line); background: none; color: var(--fashion-ink); font-size: 19px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.product-info .product-page-accordian .accordion-title.active { border-bottom-color: var(--fashion-ink); background: none; color: var(--fashion-ink); }
.product-info .product-page-accordian .accordion-title .toggle { top: 50%; left: auto; right: 0; margin-top: -1.1em; color: var(--fashion-muted); }
.product-info .product-page-accordian .accordion-inner { padding: 22px 14px 26px; color: #2b2925; font-size: 15px; line-height: 1.7; }
.product-info .product-page-accordian .accordion-inner p { margin-bottom: .9em; }
.product-info .product-page-accordian .accordion-inner ul { margin-bottom: 1em; }
.product-info .product-page-accordian .accordion-inner li { margin-bottom: .3em; }
.product-info .product-page-accordian .accordion-inner > :last-child { margin-bottom: 0; }
.fashion-promo { position: relative; border: 1px dashed var(--fashion-sale); border-radius: 6px; padding: 18px 16px 6px; margin: 18px 0; font-size: .9em; }
.fashion-promo__title { position: absolute; top: -12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 0 8px; background: #fff; color: var(--fashion-sale); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fashion-promo__title .fashion-icon { width: 18px; height: 18px; }
.fashion-promo ul { margin: 0 0 0 18px; }
.fashion-promo li { margin-bottom: 4px; }
.fashion-size-link { margin: 6px 0 14px; font-size: .9em; }
.fashion-size-link a { text-decoration: underline; text-underline-offset: 3px; color: var(--fashion-ink); }
.product-info th.has-size-link .fashion-size-link { flex: 0 0 auto; margin: 0; font-size: 14px; font-weight: 400; text-transform: none; }

/* Chọn màu sắc và kích thước: nhãn ở trên, giá trị đang chọn in đậm */
.product-info table.variations,
.product-info table.variations tbody,
.product-info table.variations tr,
.product-info table.variations th,
.product-info table.variations td { display: block; width: 100%; border: 0; }
.product-info table.variations { margin-bottom: 6px; }
.product-info table.variations tr { margin-bottom: 18px; }
.product-info table.variations th.label { padding: 0 0 10px; line-height: 1.4; }
.product-info table.variations th.has-size-link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.product-info table.variations th.label label { margin: 0; color: var(--fashion-ink); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.fashion-selected-value { font-weight: 700; }
.product-info table.variations td.value { padding: 0; }
.product-info .ux-swatches { gap: 10px; }
.product-info .ux-swatches .ux-swatch { margin: 0; }
.product-info .ux-swatches .ux-swatch--image { width: 42px; height: 42px; padding: 2px; border: 1px solid var(--fashion-line); border-radius: 50%; box-shadow: none; }
.product-info .ux-swatches .ux-swatch--image .ux-swatch__img { border-radius: 50%; }
.product-info .ux-swatches .ux-swatch--image.selected { border-color: var(--fashion-ink); box-shadow: 0 0 0 1px var(--fashion-ink); }
.product-info .ux-swatches .ux-swatch--label { position: relative; min-width: 46px; min-height: 36px; padding: 0 12px; border: 1px solid #d9d4c6; border-radius: 4px; background-color: #fff; box-shadow: none; color: var(--fashion-ink); font-size: 14px; transition: border-color .2s; }
.product-info .ux-swatches .ux-swatch--label:hover { border-color: var(--fashion-ink); }
.product-info .ux-swatches .ux-swatch--label.selected { border-color: var(--fashion-ink); box-shadow: 0 0 0 1px var(--fashion-ink); font-weight: 700; }
.product-info .ux-swatches .ux-swatch--label.selected::after { content: ""; position: absolute; top: -1px; right: -1px; width: 15px; height: 15px; border-radius: 0 4px 0 4px; background: var(--fashion-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5.200l2 2L8 3' fill='none' stroke='white' stroke-width='1.600' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.product-info .ux-swatches .ux-swatch--label.disabled { opacity: .5; background: #fff linear-gradient(to top left, transparent calc(50% - .5px), #8a857a, transparent calc(50% + .5px)); }

/* Số lượng, Thêm vào giỏ, Mua ngay */
.product-info .ux-quantity { display: inline-flex; align-items: stretch; height: 48px; overflow: hidden; border: 1px solid #d9d4c6; border-radius: 6px; background: #fff; }
.product-info .ux-quantity .ux-quantity__button { width: 40px; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; color: var(--fashion-ink); font-size: 18px; font-weight: 400; transition: background-color .2s; }
.product-info .ux-quantity .ux-quantity__button:hover { background: var(--fashion-cream); }
.product-info .ux-quantity .qty { width: 46px; max-width: none; height: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; font-size: 15px; text-align: center; }
.product-info .single_add_to_cart_button,
.product-info .ux-buy-now-button { min-height: 48px; padding: 0 16px; border-radius: 6px; font-size: 15px; letter-spacing: .04em; line-height: 46px; }
.single-product .ux-buy-now-button:hover { background: var(--fashion-accent); }
.fashion-size-table { width: 100%; font-size: .92em; text-align: center; }
.fashion-size-table th,
.fashion-size-table td { text-align: center; padding: 8px 6px; }
.fashion-hotline { clear: both; margin: 16px 0 14px; color: var(--fashion-ink); font-size: 15px; text-align: center; }
.fashion-hotline a { color: var(--fashion-sale); font-weight: 700; }
.fashion-trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; margin: 0 0 16px; padding: 16px 0 0; border-top: 1px dashed var(--fashion-line); list-style: none; }
.fashion-trust li { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--fashion-ink); font-size: 13.5px; line-height: 1.4; }
.fashion-trust .fashion-icon { flex: 0 0 22px; width: 22px; height: 22px; color: var(--fashion-sale); }
.single-product .product-info .price ins .amount,
.single-product .product-info .price > .amount { color: var(--fashion-sale); }
.single-product .single_add_to_cart_button { background: #fff; color: var(--fashion-ink); border: 1px solid var(--fashion-ink); }
.single-product .single_add_to_cart_button:hover { background: var(--fashion-cream); color: var(--fashion-ink); }
.single-product .ux-buy-now-button { background: var(--fashion-ink); color: #fff; }
.product-info .woocommerce-variation-add-to-cart,
.product-info form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.product-info .woocommerce-variation-add-to-cart .quantity,
.product-info form.cart:not(.variations_form) .quantity { margin: 0; }
.product-info .single_add_to_cart_button { flex: 1 1 0; margin: 0; }
.product-info .ux-buy-now-button { flex: 0 0 100%; margin: 0 !important; }

@media only screen and (min-width: 48.0625em) and (max-width: 63.9375em) {
	.fashion-contact-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Giỏ hàng, thanh toán, đặt hàng thành công ===== */

/* Nút chính màu đỏ đô giống màu giá. Flatsome tô nút "alt" bằng màu Secondary (kem) nên phải đặt lại màu */
.wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout #place_order,
.widget_shopping_cart .buttons .button.checkout { min-height: 50px; margin: 0; border-radius: 6px; background: var(--fashion-sale); color: #fff; font-size: 15px; letter-spacing: .05em; line-height: 50px; transition: background-color .2s; }
.wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-checkout #place_order:hover,
.widget_shopping_cart .buttons .button.checkout:hover { background: var(--fashion-sale-dark); color: #fff; }

/* Giỏ hàng mini: Xem giỏ hàng viền đen, Thanh toán đỏ đô */
.widget_shopping_cart .buttons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 0; }
.widget_shopping_cart .buttons .button { width: 100%; margin: 0; border-radius: 6px; }
.widget_shopping_cart .buttons .button:not(.checkout) { min-height: 46px; border: 1px solid var(--fashion-ink); background: #fff; color: var(--fashion-ink); line-height: 44px; transition: background-color .2s, color .2s; }
.widget_shopping_cart .buttons .button:not(.checkout):hover { background: var(--fashion-ink); color: #fff; }
.widget_shopping_cart .buttons .button.checkout { min-height: 46px; border: 1px solid var(--fashion-sale); line-height: 44px; }

/* Thanh bước Giỏ hàng > Thanh toán > Hoàn tất */
.checkout-page-title .checkout-breadcrumbs { margin: 0; letter-spacing: .04em; }
.checkout-breadcrumbs a { color: #a8a294; }
.checkout-breadcrumbs a.current { color: var(--fashion-ink); }
.checkout-breadcrumbs .breadcrumb-step { border-color: currentColor; }
.checkout-breadcrumbs a.current .breadcrumb-step { background: var(--fashion-ink); border-color: var(--fashion-ink); color: #fff; }

/* Thanh miễn phí giao hàng của Flatsome */
.ux-free-shipping,
#order_review .ux-free-shipping { margin: 0 0 18px; padding: 14px 16px; border-radius: 6px; background: var(--fashion-cream); }
.ux-free-shipping__notice { margin-bottom: 8px; color: var(--fashion-ink); font-size: 14.5px; }
.ux-free-shipping__notice .amount { color: var(--fashion-sale); font-weight: 700; }
.ux-free-shipping__bar { height: 6px; border-radius: 99px; background: #fff; }
.ux-free-shipping__bar .ux-free-shipping__bar-progress { border-radius: 99px; background: var(--fashion-sale); background-image: none; }

/* Ô nhập dùng chung kiểu với form liên hệ */
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-cart .coupon .input-text,
.fashion-coupon .input-text { height: 46px; margin: 0; padding: 0 14px; border: 1px solid #d9d4c6; border-radius: 6px; background: #fff; box-shadow: none; font-size: 15px; }
.woocommerce-checkout .form-row textarea.input-text { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.6; }
.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-cart .coupon .input-text:focus,
.fashion-coupon .input-text:focus { border-color: var(--fashion-ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); outline: 0; }
.woocommerce-checkout .select2-container .select2-selection--single { height: 46px; padding: 0 28px 0 0; border: 1px solid #d9d4c6; border-radius: 6px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { padding-left: 14px; font-size: 15px; line-height: 44px; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce-checkout .form-row label { color: var(--fashion-ink); font-size: 14px; font-weight: 600; }
.woocommerce-checkout .form-row { margin-bottom: 16px; }
.woocommerce-checkout h3 { color: var(--fashion-ink); font-size: 18px; }
.woocommerce-additional-fields > h3 { display: none; }

/* Giỏ hàng */
.woocommerce-cart-form .product-remove { display: none; }
.woocommerce-cart-form .product-thumbnail img { border-radius: 4px; }
.fashion-cart-remove { display: block; width: fit-content; margin-top: 6px; color: var(--fashion-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.fashion-cart-remove:hover { color: var(--fashion-sale); }
.woocommerce-cart-form .ux-quantity { display: inline-flex; align-items: stretch; height: 40px; overflow: hidden; border: 1px solid #d9d4c6; border-radius: 6px; background: #fff; }
.woocommerce-cart-form .ux-quantity .ux-quantity__button { width: 34px; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; color: var(--fashion-ink); font-size: 16px; }
.woocommerce-cart-form .ux-quantity .ux-quantity__button:hover { background: var(--fashion-cream); }
.woocommerce-cart-form .ux-quantity .qty { width: 40px; max-width: none; height: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; font-size: 15px; text-align: center; }
/* Flatsome đổ bóng chữ trắng cho nút .is-form (Áp dụng mã, nút +/- số lượng), làm chữ nhòe trên nền tối */
.is-form,
button.is-form,
button[type="submit"].is-form,
input[type="button"].is-form,
input[type="reset"].is-form,
input[type="submit"].is-form { text-shadow: none; }

/* Nút Áp dụng mã ưu đãi: nền đen, cao bằng ô nhập */
.woocommerce-cart .coupon .button,
.fashion-coupon__apply { min-height: 46px; margin: 0; padding: 0 22px; border: 1px solid var(--fashion-ink); border-radius: 6px; background: var(--fashion-ink); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .04em; line-height: 44px; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.woocommerce-cart .coupon .button:hover,
.fashion-coupon__apply:hover { border-color: var(--fashion-accent); background: var(--fashion-accent); color: #fff; }
.woocommerce-cart .coupon .input-text { margin-bottom: 10px; }
.woocommerce-cart .coupon .button { width: 100%; }

/* Nút Tiếp tục xem sản phẩm và giá trong khung tổng cộng */
.continue-shopping .button { border-radius: 6px; }
.cart_totals table td,
.cart_totals table td .amount { font-size: 16px; }
.cart_totals .order-total td .amount { color: var(--fashion-sale); font-size: 21px; }
#order_review .order-total td .amount { color: var(--fashion-sale); font-size: 19px; }

/* Khung đơn hàng ở trang thanh toán */
form.checkout .col-inner.has-border { padding: 28px; border: 1px solid var(--fashion-line); border-radius: 8px; background: #fbfaf6; }
.woocommerce-checkout-review-order-table td.product-name { position: relative; height: 76px; padding-left: 68px; }
.fashion-review-item img { position: absolute; top: 12px; left: 0; width: 56px; height: 56px; border-radius: 4px; object-fit: cover; }
.fashion-coupon { margin: 6px 0 18px; padding-top: 16px; border-top: 1px solid var(--fashion-line); }
.fashion-coupon label { display: block; margin-bottom: 6px; color: var(--fashion-ink); font-size: 14px; font-weight: 600; }
.fashion-coupon__row { display: flex; gap: 8px; }
.fashion-coupon__row .input-text { flex: 1 1 auto; min-width: 0; }
.fashion-coupon.is-loading { opacity: .6; pointer-events: none; }
.fashion-coupon-notice { margin: 10px 0 0; }

/* Phương thức thanh toán dạng thẻ */
.woocommerce-checkout #payment { background: none; }
.woocommerce-checkout #payment ul.payment_methods { margin: 0 0 16px; padding: 0; border: 0; }
.woocommerce-checkout #payment .wc_payment_method { margin: 0 0 10px; padding: 14px 16px; border: 1px solid #d9d4c6; border-radius: 6px; background: #fff; list-style: none; transition: border-color .2s; }
.woocommerce-checkout #payment .wc_payment_method:has(> input:checked) { border-color: var(--fashion-ink); box-shadow: 0 0 0 1px var(--fashion-ink); }
.woocommerce-checkout #payment .wc_payment_method > label { margin: 0; color: var(--fashion-ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.woocommerce-checkout #payment .payment_box { margin: 8px 0 0 24px; padding: 0; background: none; color: var(--fashion-muted); font-size: 14px; }
.woocommerce-checkout #payment .payment_box::before { display: none; }
.fashion-review-jump { display: none; }

/* Thanh dính đáy trên mobile ở giỏ hàng và thanh toán */
.fashion-checkout-bar { display: none; }

/* Trang đặt hàng thành công */
.fashion-thankyou { max-width: 860px; margin: 0 auto; padding-bottom: 24px; }
.fashion-thankyou__hero { margin-bottom: 24px; padding: 36px 24px 28px; border-radius: 8px; background: var(--fashion-cream); text-align: center; }
.fashion-thankyou__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 50%; background: var(--fashion-ink); color: #fff; }
.fashion-thankyou__hero h1 { margin-bottom: 6px; color: var(--fashion-ink); font-size: 28px; }
.fashion-thankyou__hero .woocommerce-notice { margin: 0 0 22px; color: #4a4640; font-size: 16px; }
.fashion-thankyou ul.fashion-thankyou__overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; text-align: left; }
.fashion-thankyou ul.fashion-thankyou__overview li { float: none; margin: 0; padding: 12px 14px; border: 0; border-radius: 6px; background: #fff; color: var(--fashion-muted); font-size: 13px; line-height: 1.4; text-transform: none; }
.fashion-thankyou ul.fashion-thankyou__overview strong { display: block; margin-top: 4px; color: var(--fashion-ink); font-size: 15px; }
.fashion-thankyou__next { margin-bottom: 28px; padding: 24px; border: 1px solid var(--fashion-line); border-radius: 8px; }
.fashion-thankyou__next h2,
.fashion-thankyou__details h2 { margin-bottom: 12px; color: var(--fashion-ink); font-size: 20px; }
.fashion-thankyou__next ol { margin: 0 0 0 20px; }
.fashion-thankyou__next li { margin-bottom: 6px; }
.fashion-thankyou__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.fashion-thankyou__actions .button { margin: 0; border-radius: 6px; }
.fashion-thankyou__actions .button.is-outline { border-color: var(--fashion-ink); color: var(--fashion-ink); }
.fashion-thankyou__actions .button.is-outline:hover { background: var(--fashion-ink); color: #fff; }
.fashion-thankyou__details > p:first-child { padding: 14px 16px; border-left: 3px solid var(--fashion-accent); border-radius: 6px; background: var(--fashion-cream); }
.fashion-thankyou .woocommerce-bacs-bank-details { margin-bottom: 28px; padding: 22px 24px; border: 1px solid var(--fashion-line); border-radius: 8px; }
.fashion-thankyou .woocommerce-bacs-bank-details h3 { font-size: 16px; }
.fashion-thankyou ul.bacs_details { margin: 0; padding: 0; list-style: none; }
.fashion-thankyou ul.bacs_details li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; float: none; margin: 0; padding: 10px 0; border: 0; border-bottom: 1px dashed var(--fashion-line); font-size: 14px; text-transform: none; }
.fashion-thankyou ul.bacs_details li:last-child { border-bottom: 0; }
.fashion-thankyou ul.bacs_details strong { color: var(--fashion-ink); font-size: 15px; }
.fashion-copy { min-height: 0; margin: 0; padding: 3px 10px; border: 1px solid #d9d4c6; border-radius: 4px; background: #fff; color: var(--fashion-ink); font-size: 12px; font-weight: 400; line-height: 1.5; text-transform: none; }
.fashion-copy:hover { border-color: var(--fashion-ink); }
.fashion-customer-details { margin: 0 0 24px; padding: 6px 18px; border: 1px solid var(--fashion-line); border-radius: 6px; font-size: 15px; letter-spacing: 0; text-transform: none; }
.fashion-customer-details dt,
.fashion-customer-details dd { font-size: 15px; letter-spacing: 0; text-transform: none; }
.fashion-customer-details__row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--fashion-line); }
.fashion-customer-details__row:last-child { border-bottom: 0; }
.fashion-customer-details dt { color: var(--fashion-muted); font-weight: 600; }
.fashion-customer-details dd { margin: 0; color: var(--fashion-ink); overflow-wrap: anywhere; }
.fashion-customer-details__empty { color: var(--fashion-muted); }

@media only screen and (max-width: 48em) {
	body:has(.fashion-checkout-bar) { padding-bottom: 76px; }
	body:has(.fashion-checkout-bar) .fashion-bottom-bar { display: none; }
	.fashion-checkout-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 90; display: flex; align-items: center; gap: 14px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--fashion-line); background: #fff; box-shadow: 0 -6px 18px rgba(17, 17, 17, .06); }
	.fashion-checkout-bar__total > span { display: block; color: var(--fashion-muted); font-size: 12px; }
	.fashion-checkout-bar__total { flex: 0 0 auto; }
	.fashion-checkout-bar__total strong { color: var(--fashion-ink); font-size: 17px; white-space: nowrap; }
	.fashion-customer-details__row { grid-template-columns: 1fr; gap: 2px; }
	.fashion-checkout-bar__button { flex: 1 1 auto; min-height: 46px; margin: 0; border-radius: 6px; background: var(--fashion-sale); color: #fff; font-size: 15px; letter-spacing: .05em; line-height: 46px; }
	.fashion-review-jump { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border-radius: 6px; background: var(--fashion-cream); color: var(--fashion-ink); font-size: 14px; }
	.fashion-review-jump strong { margin-right: 6px; }
	form.checkout .col-inner.has-border { padding: 20px 16px; }
	.fashion-thankyou__hero { padding: 28px 16px 20px; }
	.fashion-thankyou__hero h1 { font-size: 24px; }
	.fashion-thankyou ul.fashion-thankyou__overview { grid-template-columns: repeat(2, 1fr); }
	.fashion-thankyou__next,
	.fashion-thankyou .woocommerce-bacs-bank-details { padding: 18px 16px; }
	.fashion-thankyou__actions .button { flex: 1 1 100%; }
}

/* Liên hệ nổi và thanh đáy */
.fashion-float { position: fixed; right: 18px; bottom: 76px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fashion-float a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); }
.fashion-float .is-zalo { background: #0068ff; }
.fashion-float .is-messenger { background: #7b3ff2; }
.fashion-bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; background: #fff; border-top: 1px solid var(--fashion-line); padding-bottom: env(safe-area-inset-bottom); }
.fashion-bottom-bar a { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px 6px; color: var(--fashion-ink); font-size: 11px; line-height: 1.2; }
.fashion-bottom-bar .fashion-icon { width: 21px; height: 21px; }

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/

	body { padding-bottom: 58px; }
	.back-to-top { bottom: 70px !important; }
	.fashion-bottom-bar { display: flex; }
	.fashion-float { display: none; }
	#logo img { width: auto; max-height: 50px; }
	.fashion-heading,
	.fashion-flash-head h2 { font-size: 22px; }
	.fashion-flash-head h2::after { width: 27px; height: 34px; }
	.fashion-flash-head .ux-timer { gap: 6px; }
	.fashion-flash-head .ux-timer span { width: 48px; font-size: 26px; }
	.fashion-tabs .nav { flex-wrap: nowrap; gap: 20px; overflow-x: auto; }
	.fashion-tabs .nav > li { flex: 0 0 auto; }
	.fashion-tabs .nav > li > a { font-size: 15px; }
	.fashion-tabs--bar .nav > li > a { padding: 12px 10px; }
	.product-small .name.product-title,
	.product-small .woocommerce-loop-product__title { font-size: 14px; }
	.fashion-size-table { font-size: .82em; }
	.fashion-page__title { font-size: 24px; }
	.fashion-blog-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-bottom: 20px; padding-bottom: 4px; }
	.fashion-blog-cats a { flex: 0 0 auto; }
	.fashion-posts .post-title { font-size: 17px; }
	.product-footer .related .product-section-title,
	.fashion-viewed .fashion-heading { font-size: 22px; }
	.product-footer .related .slider .flickity-prev-next-button,
	.fashion-viewed .slider .flickity-prev-next-button,
	.product-category .slider .flickity-prev-next-button,
	.products .slider .flickity-prev-next-button { width: 36px; height: 36px; margin: -18px 0 0 !important; }
	.blog-single .entry-title { font-size: 26px; }
	.blog-single .entry-content { font-size: 16px; }
	.fashion-page__nav { order: 2; }
	.fashion-contact-cards { grid-template-columns: 1fr; gap: 12px; }
	.fashion-contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 18px; text-align: left; }
	.fashion-contact-card__icon { flex: 0 0 46px; width: 46px; height: 46px; margin: 0; }
	.fashion-contact-card p { margin-bottom: 6px; }
	.fashion-contact-card__actions { justify-content: flex-start; }
	.fashion-contact-formbox > .col-inner,
	.fashion-contact-help > .col-inner { padding: 22px 18px; }
	.fashion-contact-form .button { width: 100%; }
	.fashion-contact-form { grid-template-columns: 1fr; }
	.fashion-contact-form > p:nth-of-type(1),
	.fashion-contact-form > p:nth-of-type(2) { grid-column: 1 / -1; }
}
