/* Kapital Print — Cantidades mínimas (celular, laptop y PC) */

/* Sin selector de 1 en 1 en la página del producto */
.single-product form.cart .quantity { display: none !important; }

/* Bloque de cantidades */
.kpc-qty { flex: 1 1 100%; width: 100%; margin: 0 0 14px; }
.kpc-qty[hidden] { display: none !important; }
.kpc-label { display: block; font-weight: 600; margin: 0 0 6px; }
.kpc-select,
.kpc-otra { box-sizing: border-box; width: 100%; max-width: 100%; height: 48px; padding: 0 16px; border: 1px solid #e2e2e2; border-radius: 999px; background-color: #fff; font-size: 16px; line-height: 1.2; color: inherit; }
.kpc-select:focus,
.kpc-otra:focus { outline: 0; border-color: #ff5d24; box-shadow: 0 0 0 3px rgba(255, 93, 36, .15); }
.kpc-otra-wrap { margin-top: 10px; }
.kpc-otra-wrap[hidden] { display: none !important; }
.kpc-label-sm { display: block; font-size: 13px; margin: 0 0 4px; }
.kpc-total { margin-top: 8px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }

/* Tienda: "Desde X unidades" */
.kpc-desde { font-weight: 600; }
ul.products .kpc-desde { white-space: normal; }

/* "c/u" y "por N unidades" separados del precio */
.kpc-cu { margin-left: .3em; font-size: .8em; font-weight: 400; opacity: .75; white-space: nowrap; }

/* Página del producto: mínimo arriba y precio por unidad debajo, sin amontonarse */
.single-product .summary p.price:has(.kpc-desde) { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 4px; }
.single-product .summary .kpc-desde { flex: 1 1 100%; font-size: clamp(22px, 1.4vw + 14px, 32px); line-height: 1.2; }
.single-product .summary .kpc-cu-line { display: flex; flex-wrap: wrap; align-items: baseline; flex: 1 1 100%; margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.single-product .summary .kpc-cu-line .kpc-cu { font-size: 15px; }

/* Precio de la variación elegida: "RD$ 31.15 c/u" */
.single-product .woocommerce-variation-price .price { flex-wrap: wrap; align-items: baseline; }

/* Variaciones: sin los dos puntos repetidos y con mayúscula inicial */
.variations th.label:has(.woo-selected-variation-item-name) label::after { content: none !important; }
.variations th.label label::first-letter { text-transform: uppercase; }
.variations th.label:has(.woo-selected-variation-item-name) label { margin-right: 0 !important; }

/* Información adicional: palabras completas (no "pre se nta ció n") */
.woocommerce-product-attributes th,
.woocommerce-product-attributes td { word-break: normal !important; overflow-wrap: break-word; hyphens: manual; }
.woocommerce-product-attributes th { white-space: nowrap; }
.woocommerce-product-attributes th::first-letter { text-transform: uppercase; }
@media (max-width: 600px) {
	.woocommerce-product-attributes,
	.woocommerce-product-attributes tbody,
	.woocommerce-product-attributes tr,
	.woocommerce-product-attributes th,
	.woocommerce-product-attributes td { display: block; width: 100% !important; box-sizing: border-box; }
	.woocommerce-product-attributes th { padding-bottom: 2px !important; border-bottom: 0 !important; font-weight: 600; }
	.woocommerce-product-attributes td { padding-top: 0 !important; }
}

/* Carrito: cantidad en unidades */
.kpc-cart-qty { display: inline-block; font-weight: 600; white-space: nowrap; }
/* La cantidad no se cambia en el carrito, así que "Actualizar carrito" sobra */
.woocommerce-cart-form:has(.kpc-cart-qty) button[name="update_cart"] { display: none !important; }
/* Nombres de producto con palabras completas (no "impresi ón") */
.woocommerce-cart-form .product-name,
.woocommerce-cart-form .product-name a,
.woocommerce-checkout-review-order-table .product-name,
.woocommerce-mini-cart-item a { word-break: normal !important; overflow-wrap: break-word; }
@media (max-width: 600px) {
	.kpc-total { font-size: 14px; }
	.kpc-cart-qty { white-space: normal; }
}
