/* Card Visit Thông Minh — bổ sung 2026-11-09: lối vào trình thiết kế, nút biểu tượng, sửa nhỏ. */

/* Nút biểu tượng (menu, giỏ, đóng giỏ) — trước là <div>/<img>, nay là <button> để bấm bằng bàn phím được */
.cv-iconbtn { appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; margin: 0; color: inherit; line-height: 0; cursor: pointer; display: inline-block; position: relative; }
.cv-iconbtn:focus-visible { outline: 2px solid #8b7cf6; outline-offset: 3px; border-radius: 4px; }
.fcimlchh.cv-iconbtn img { width: 100%; height: 100%; }
.close-cart { align-items: center; gap: 10px; }

/* Menu: mục "Tự thiết kế thẻ" nổi bật */
.gkcrtpee.show { display: block; z-index: 12; }
.duzfvaco a { color: inherit; text-decoration: none; display: block; }
.duzfvaco.cv-menu-design { padding-top: 12px; padding-bottom: 12px; }
.duzfvaco.cv-menu-design a { color: #fff; font-weight: 600; text-align: center; border-radius: 6px; padding: 6px 14px; background-image: linear-gradient(to right, #46cce8, #af60dc); }

/* Thanh dưới trang chủ: Tự thiết kế thẻ & đặt in */
.cv-designbar { z-index: 9; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); text-align: center; }
.cv-designbar__btn.upload-file { display: flex; align-items: center; justify-content: center; text-decoration: none; color: #fff !important; max-width: 420px; height: 50px; font-size: 19px; font-weight: 600; }
.cv-designbar__btn.upload-file:hover { filter: brightness(1.05); }
.cv-designbar__note { margin: 6px 0 0; font-size: 12.5px; color: #666; }
/* chừa chỗ cho thanh cố định để không che chân trang */
.id_Standard { padding-bottom: 104px; }

/* Form sản phẩm: gói Standard → nút vào trình thiết kế */
.cv-go-design { text-align: center; margin-top: 16px; }
.cv-go-design .single_add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #fff !important; }
.cv-go-design p { margin: 10px auto 0; max-width: 340px; font-size: 13px; color: #666; }

/* Ảnh sản phẩm dạng lưới (width/height trong thẻ img giữ tỉ lệ khi đang tải lười) */
.pblcflyt img { width: 100% !important; height: auto; display: block; background: #f4f4f5; }

/* Giỏ hàng trượt: ảnh sản phẩm / ảnh thiết kế luôn vừa khung (ảnh thiết kế từ trình thiết kế không có lớp size-*) */
.mini-cart-thumbnail img { width: 100% !important; max-width: 100%; height: auto; display: block; }
.widget_shopping_cart_content .antk-prev img { max-width: 90px; height: auto; }

/* Trang Giỏ hàng / Thanh toán: ảnh sản phẩm và ảnh thiết kế không vượt khung */
.shop_table .product-thumbnail img { width: 100% !important; max-width: 140px; height: auto; display: block; }
.shop_table td dd, .widget_shopping_cart_content dd { overflow-wrap: anywhere; }
.widget_shopping_cart_content .quantity { white-space: nowrap; }
/* Giỏ trượt chỉ tóm tắt: ẩn thông tin phụ (ảnh thiết kế trùng, trang cá nhân) — vẫn hiện ở trang Giỏ hàng / Thanh toán */
.widget_shopping_cart_content dl.variation { display: none; }
.shop_table .antk-prev img { max-width: 120px !important; height: auto; }
.widget_shopping_cart_content .woocommerce-mini-cart { overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain; }

/* Nút menu / giỏ canh theo thanh đầu trang (trước canh theo cả trang → bị thanh quản trị che) */
.header_navigation_center:not(.fixed) { position: relative; }
