/* Trang cửa hàng delarchi.com — VTN 25/09/2026. Chỉ nạp ở /shop/ + trang danh mục. */
.woocommerce-shop, .tax-product_cat, .tax-product_tag { background: #fff; }
.products .product-small .price .amount { white-space: nowrap; }
.dls-wrap { max-width: 1250px; margin: 0 auto; padding: 0 15px; }

/* ---------- Khung đầu trang ---------- */
.dls-hero { font-family: "Be Vietnam Pro", system-ui, sans-serif; color: var(--dl-ink); background: radial-gradient(900px 360px at 88% 0%, #ffe0d1 0%, transparent 65%), var(--dl-cream); border-bottom: 1px solid var(--dl-line); padding: 26px 0 22px; }
.dls-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--dl-muted); margin-bottom: 14px; }
.dls-crumb a { color: var(--dl-muted) !important; }
.dls-crumb a:hover { color: var(--dl-c) !important; }
.dls-crumb span { opacity: .5; }
.dls-crumb b { color: var(--dl-ink); font-weight: 600; }
.dls-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dls-head h1 { font-family: inherit; font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--dl-ink); margin: 0; }
.dls-head p { margin: 10px 0 0; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--dl-muted); }
.dls-count { flex: none; font-size: 14px; color: var(--dl-muted); background: #fff; border: 1px solid var(--dl-line); border-radius: 999px; padding: 8px 16px; }
.dls-count b { color: var(--dl-c); font-weight: 800; }
.dls-chips { display: flex; gap: 8px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.dls-chips::-webkit-scrollbar { display: none; }
.dls-chips a { flex: none; font-size: 14px; font-weight: 600; color: var(--dl-ink) !important; background: #fff; border: 1.5px solid var(--dl-line); border-radius: 999px; padding: 8px 16px; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.dls-chips a:hover { border-color: var(--dl-c); color: var(--dl-c) !important; }
.dls-chips a.is-on { background: var(--dl-c); border-color: var(--dl-c); color: #fff !important; }
.dls-subchips { display: flex; gap: 6px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.dls-subchips::-webkit-scrollbar { display: none; }
.dls-subchips a { flex: none; font-size: 13.5px; font-weight: 600; color: var(--dl-muted) !important; background: transparent; border-radius: 10px; padding: 7px 12px; white-space: nowrap; transition: background .15s, color .15s; }
.dls-subchips a small { font-size: 12px; font-weight: 500; opacity: .7; margin-left: 2px; }
.dls-subchips a:hover { background: #fff; color: var(--dl-c) !important; }
.dls-subchips a.is-on { background: var(--dl-soft); color: var(--dl-c) !important; }

/* ---------- Thanh sắp xếp (khung tiêu đề gốc của Flatsome) ---------- */
.shop-page-title.category-page-title { font-family: "Be Vietnam Pro", sans-serif; }
.shop-page-title .page-title-inner { padding-top: 22px !important; padding-bottom: 4px !important; min-height: 0; }
.shop-page-title .woocommerce-breadcrumb { display: none; }
.shop-page-title .woocommerce-result-count { font-size: 14px; color: var(--dl-muted); margin: 0 16px 0 0; }
.shop-page-title .woocommerce-ordering { margin: 0; }
.shop-page-title .woocommerce-ordering select { height: 42px; border: 1.5px solid var(--dl-line); border-radius: 999px; padding: 0 38px 0 16px; background-color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--dl-ink); box-shadow: none; }
.shop-page-title .woocommerce-ordering select:focus { border-color: var(--dl-c); }
.shop-page-title .filter-button { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 1.5px solid var(--dl-line); border-radius: 999px; color: var(--dl-ink) !important; text-transform: none !important; font-size: 14px; }
.shop-page-title .filter-button strong { font-weight: 700; }

/* ---------- Cột danh mục bên trái ---------- */
.category-page-row { padding-top: 18px !important; }
#shop-sidebar { font-family: "Be Vietnam Pro", sans-serif; }
#shop-sidebar .widget { background: #fff; border: 1px solid var(--dl-line); border-radius: 20px; padding: 18px 12px 12px; }
#shop-sidebar .widget-title { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dl-ink); padding: 0 10px; }
#shop-sidebar .is-divider { display: none; }
#shop-sidebar .product-categories { margin: 10px 0 0; }
#shop-sidebar .product-categories li { border: 0 !important; margin: 0; padding: 0; position: relative; }
#shop-sidebar .product-categories li a { display: block; padding: 8px 36px 8px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--dl-ink2) !important; line-height: 1.4; transition: background .15s, color .15s; }
#shop-sidebar .product-categories li a:hover { background: var(--dl-cream); color: var(--dl-c) !important; }
#shop-sidebar .product-categories li.current-cat > a { background: var(--dl-soft); color: var(--dl-c) !important; font-weight: 700; }
#shop-sidebar .product-categories .children { margin: 2px 0 6px 12px; padding-left: 8px; border-left: 2px solid var(--dl-line); }
#shop-sidebar .product-categories .children a { font-size: 14px; padding-top: 6px; padding-bottom: 6px; color: var(--dl-muted) !important; }
#shop-sidebar .product-categories .toggle { position: absolute; right: 4px; top: 4px; width: 30px; height: 30px; margin: 0; border-radius: 8px; opacity: .6; }
#shop-sidebar .product-categories .toggle:hover { opacity: 1; background: var(--dl-cream); }
#shop-sidebar .count { display: none; }

/* ---------- Thẻ sản phẩm ---------- */
.products .product-small.col { padding-bottom: 24px; }
.products .product-small > .col-inner { height: 100%; }
.products .product-small.box { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--dl-line); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; font-family: "Be Vietnam Pro", sans-serif; }
.products .product-small.box:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(80, 40, 20, .45); }
.products .product-small .box-image { background: var(--dl-cream); border-radius: 0; }
.products .product-small .box-image img { aspect-ratio: 1 / 1; object-fit: cover; }
.products .product-small .box-text { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 14px 16px 16px !important; text-align: left; }
.products .product-small .box-text .title-wrapper { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.products .product-small .category { font-size: 11.5px !important; font-weight: 600; letter-spacing: .06em; color: #9b8a80 !important; opacity: 1 !important; margin: 0 !important; }
.products .product-small .name { margin: 0 !important; }
.products .product-small .name a, .products .product-small .product-title a { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--dl-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.products .product-small .name a:hover { color: var(--dl-c) !important; }
.products .product-small .price-wrapper { margin-top: auto; }
.products .product-small .price { font-size: 16px; line-height: 1.35; font-weight: 800; color: var(--dl-c) !important; margin: 0; }
.products .product-small .price .woocommerce-Price-amount { color: inherit; }
.products .product-small .price del { color: #a9998f; font-weight: 500; font-size: 13.5px; }
.products .product-small .price ins { text-decoration: none; }
.products .product-small .badge-container { margin: 12px; }
.products .product-small .badge-inner { border-radius: 999px; background: var(--dl-c); font-family: inherit; font-weight: 800; padding: 4px 10px; min-height: 0; height: auto; }
.products .product-small .grid-tools { display: none; }

/* ---------- Phân trang ---------- */
.woocommerce-pagination { margin-top: 12px; }
.woocommerce-pagination .page-numbers { gap: 8px; }
.woocommerce-pagination .page-number { min-width: 44px; height: 44px; line-height: 41px !important; border-radius: 999px !important; border: 1.5px solid var(--dl-line) !important; background: #fff !important; color: var(--dl-ink) !important; font-family: "Be Vietnam Pro", sans-serif; font-weight: 700; font-size: 15px; padding: 0 6px; transition: border-color .15s, color .15s; }
.woocommerce-pagination a.page-number:hover { border-color: var(--dl-c) !important; color: var(--dl-c) !important; }
.woocommerce-pagination .page-number.current { background: var(--dl-c) !important; border-color: var(--dl-c) !important; color: #fff !important; }

/* ---------- Máy tính bảng / điện thoại ---------- */
@media (max-width: 849px) {
	.dls-hero { padding: 18px 0 16px; }
	.dls-head { flex-direction: column; align-items: flex-start; gap: 10px; }
	.dls-head p { font-size: 15px; }
	.dls-chips { margin: 16px -15px 0; padding: 0 15px 2px; }
	.dls-subchips { margin: 10px -15px 0; padding: 0 15px 2px; }
	.shop-page-title .page-title-inner { padding-top: 14px !important; }
	.products .product-small.col { padding-bottom: 14px; }
	.products .product-small .box-text { padding: 10px 12px 12px !important; }
	.products .product-small .name a { font-size: 14px; }
	.products .product-small .price { font-size: 15px; }
	.products .product-small.box { border-radius: 14px; }
}
@media (max-width: 549px) {
	.dls-crumb { margin-bottom: 10px; font-size: 12px; }
	.dls-count { padding: 6px 12px; font-size: 13px; }
	.products .product-small .category { display: none; }
}

/* ---------- Ô lọc theo giá ---------- */
#shop-sidebar .widget + .widget { margin-top: 16px; }
#shop-sidebar .widget_price_filter { padding: 18px 22px 16px; }
#shop-sidebar .widget_price_filter .widget-title { padding: 0; }
#shop-sidebar .price_slider_wrapper { margin-top: 14px; }
#shop-sidebar .ui-slider { background: var(--dl-line) !important; height: 4px !important; border-radius: 99px; }
#shop-sidebar .ui-slider-range { background: var(--dl-c) !important; }
#shop-sidebar .ui-slider-handle { background: #fff !important; border: 3px solid var(--dl-c) !important; width: 18px !important; height: 18px !important; top: -7px !important; border-radius: 50% !important; }
#shop-sidebar .price_slider_amount { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
#shop-sidebar .price_slider_amount .button { margin: 0; min-height: 36px; line-height: 36px; padding: 0 18px; border-radius: 999px; background: var(--dl-c) !important; color: #fff !important; font-family: inherit; font-weight: 700; text-transform: none; font-size: 14px; letter-spacing: 0; }
#shop-sidebar .price_label { font-size: 13px; color: var(--dl-muted); text-align: left; }
#shop-sidebar .price_label span { color: var(--dl-ink); font-weight: 700; }
.products .product-small .price .dls-from { font-size: 12.5px; font-weight: 600; color: var(--dl-muted); margin-right: 2px; }

/* Thanh Lọc + Sắp xếp trên điện thoại: một hàng, hai nút ngang nhau */
@media (max-width: 849px) {
	.shop-page-title .page-title-inner { flex-direction: row !important; flex-wrap: nowrap !important; align-items: center; gap: 10px; padding-bottom: 0 !important; }
	.shop-page-title .page-title-inner > .flex-col { text-align: left !important; flex: 1 1 0; min-width: 0; }
	.shop-page-title .page-title-inner > .flex-col > .is-large { display: none; }
	.shop-page-title .category-filtering { margin: 0; padding: 0; }
	.shop-page-title .category-filtering .filter-button { width: 100%; justify-content: center; }
	.shop-page-title .woocommerce-ordering, .shop-page-title .woocommerce-ordering select { width: 100%; margin: 0 !important; }
	.shop-page-title .page-title-inner > .flex-col { display: flex; align-items: center; }
	.shop-page-title .flex-col > * { margin-bottom: 0 !important; }
	.category-page-row { padding-top: 14px !important; }
}
