/* Khả Ngân Riso — phần bổ sung cho WordPress / WooCommerce. riso.css giữ nguyên hệ thiết kế. */

/* ---------- Khung ---------- */
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 6px; }
.top-left { display: flex; align-items: center; gap: 2px; min-width: 0; }
.top-nav a[aria-current] { color: var(--pink-ink); }
.admin-bar .top { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .top { top: 0; } }
.iconbtn { text-decoration: none; }
@media (max-width: 380px) { .top-actions .acct { display: none; } }

/* Link mang dáng nút trong thiết kế gốc */
.cat { text-decoration: none; }
.cat[aria-current] { border-color: var(--blue); background: var(--white); }
.skin-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--paper); color: var(--paper); font-weight: 600; font-size: .95rem; text-decoration: none; }
.skin-chips a:hover { background: var(--paper); color: var(--blue); }
.skin-chips a[aria-current] { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.brands a { text-decoration: underline transparent 3px; text-underline-offset: 6px; transition: text-decoration-color .2s; }
.brands a:hover { text-decoration-color: currentColor; }
.brands a:nth-child(odd) { color: var(--blue); }
.brands a:nth-child(even) { color: var(--pink-btn); }
.sec-head.count a { color: var(--blue); }
.closer .link { margin-top: -2px; }
.btn { text-decoration: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
[aria-busy="true"] { cursor: progress; opacity: .7; }

/* ---------- Ảnh sản phẩm thật trên mảng màu ---------- */
.photo-print { position: relative; z-index: 1; display: grid; place-items: center; }
.photo-print img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card-art .photo-print { width: 80%; height: 80%; }
.line .photo-print { width: 52px; height: 64px; margin: 0 auto; }
.hero-deal .photo-print { width: 118px; height: 150px; justify-self: end; }
.hero-art .photo-print.big { display: none; }
.stage .stage-photo { width: min(78%, 360px); height: 88%; }
@media (min-width: 1000px) { .hero-art .photo-print.big { display: grid; width: 70%; height: 70%; } }

/* ---------- Thẻ sản phẩm ---------- */
.card.soldout .card-art { opacity: .6; }
.card .buy b.out { font-family: var(--f-label); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Trang danh sách ---------- */
.crumbs span { color: var(--ink); }
.archive { padding-top: 6px; }
.arc-desc { margin: -6px 0 14px; max-width: 60ch; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 2px solid var(--blue); border-radius: 6px; font-weight: 600; text-decoration: none; color: var(--blue); font-variant-numeric: tabular-nums; }
.pager .current { background: var(--blue); color: var(--white); }
.pager .dots { border-color: transparent; }

/* ---------- Trang sản phẩm ---------- */
.pdp .desc p { margin: 0 0 .6em; }
.pdp .desc p:last-child { margin-bottom: 0; }
.variants button.oos { text-decoration: line-through; opacity: .6; }
.stamp-price[hidden] { display: none; }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: .8em; }
.prose img { height: auto; border-radius: 6px; }
.prose h2, .prose h3 { font-family: var(--f-label); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.prose a { color: var(--blue); }

/* ---------- Ngăn kéo: mã giảm giá đã áp ---------- */
.line h3 a { text-decoration: none; }
.coupons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.coupon-tag { display: inline-flex; align-items: center; gap: 2px; padding-left: 10px; border: 2px dashed var(--blue); border-radius: 999px; font-family: var(--f-mono); font-size: .8rem; color: var(--blue); }
.coupon-tag button { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: var(--blue); border-radius: 50%; }
.coupon-tag .ico { width: 14px; height: 14px; }
.sheet-panel .note { margin-top: 8px; }
.sheet-panel .btn.full { margin-top: 12px; }

/* ---------- Footer ---------- */
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 4px; }
.foot-links a { color: var(--ink); }

/* ---------- Trang thường, giỏ, thanh toán, tài khoản ---------- */
.page { padding-block: 20px 40px; }
.page-title { margin: 0 0 18px; }
.notfound > p { max-width: 46ch; }
.notfound .promo { max-width: 460px; margin-block: 8px 20px; }
.posts { display: grid; gap: 22px; }
.post-item h2 { margin: 0; font-size: 1.2rem; }
.post-item h2 a { text-decoration: none; }

.wc-page .prose { max-width: none; }
.wc-page,
.wc-page .wc-block-components-text-input input,
.wc-page .wc-block-components-combobox input,
.wc-page select, .wc-page textarea, .wc-page input { font-family: var(--f-body); color: var(--ink); }
.wc-page .wc-block-components-text-input input,
.wc-page .wc-block-components-combobox .components-combobox-control input,
.wc-page .wc-blocks-components-select select,
.wc-page .woocommerce-Input, .wc-page .input-text { border: 2px solid var(--blue) !important; border-radius: 6px !important; background: var(--white) !important; }
.wc-page .wc-block-components-button:not(.is-link),
.wc-page .woocommerce-Button, .wc-page .woocommerce-button, .wc-page button.button, .wc-page a.button {
  background: var(--pink-btn) !important; color: var(--white) !important; border: 0 !important; border-radius: 8px !important;
  box-shadow: 4px 4px 0 var(--blue); font-family: var(--f-label) !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; min-height: 48px;
}
.wc-page .wc-block-components-button:not(.is-link):hover { box-shadow: 6px 6px 0 var(--blue); }
.wc-page .wc-block-components-title, .wc-page .wc-block-cart__totals-title, .wc-page .wc-block-components-checkout-step__title {
  font-family: var(--f-label) !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase !important;
}
.wc-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-page .wc-block-components-product-price { font-variant-numeric: tabular-nums; }
.wc-page .wc-block-components-notice-banner { border-radius: 8px; }
.wc-page .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.wc-page .woocommerce-MyAccount-navigation a { display: inline-flex; min-height: 40px; align-items: center; padding: 0 14px; border: 2px solid var(--blue); border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--blue); }
.wc-page .woocommerce-MyAccount-navigation .is-active a { background: var(--blue); color: var(--white); }
.wc-page .woocommerce-MyAccount-navigation, .wc-page .woocommerce-MyAccount-content { float: none !important; width: auto !important; }

/* Thông báo WooCommerce cổ điển */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; margin: 0 0 16px; padding: 12px 14px 12px 3em; border: 2px solid var(--blue); border-radius: 8px; background: var(--white); color: var(--ink);
}
.woocommerce-error { border-color: #A3122E; color: #A3122E; }

/* Ô "Chưa thấy món bạn cần?" nằm gọn trong một cột trên điện thoại */
.closer { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.closer .btn { max-width: 100%; padding-inline: 14px; white-space: normal; text-align: left; }

.wc-page .woocommerce-info::before, .wc-page .woocommerce-message::before { color: var(--blue); top: 12px; left: 1em; }
.wc-page table.shop_table { border: 2px solid var(--blue); border-radius: 8px; background: var(--white); }
.wc-page .cart_totals h2, .wc-page #order_review_heading, .wc-page .woocommerce-billing-fields h3, .wc-page .woocommerce-additional-fields h3, .wc-page h2 { font-family: var(--f-label); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 1.2rem; }
.wc-page .button:disabled, .wc-page .button[disabled] { opacity: .5 !important; }
.wc-page .woocommerce-checkout-payment, .wc-page #payment { background: var(--paper-2) !important; border-radius: 8px; }
.wc-page form .form-row label { font-weight: 600; }
.wc-page .woocommerce form.login, .wc-page .woocommerce form.register, .wc-page form.login, .wc-page form.register { border: 2px solid var(--blue); border-radius: 8px; background: var(--white); }
