/* ONS Gold archive 4.1. Scope every override to product cards owned by this plugin. */
.kos-shop-card,
.woocommerce ul.products li.product.kos-shop-card,
.woocommerce-page ul.products li.product.kos-shop-card {
    box-sizing:border-box!important; margin-bottom:20px!important; padding:0!important;
    background:transparent!important; border:0!important; box-shadow:none!important;
    list-style:none!important; color:#102c53!important; text-align:right!important;
}
.kos-shop-card *, .kos-shop-card *::before, .kos-shop-card *::after {box-sizing:border-box}
.kos-shop-card__inner{height:100%;background:#fff;border:1px solid #e8e7e4;border-radius:18px;overflow:hidden;box-shadow:0 4px 16px rgba(13,40,72,.035);transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.kos-shop-card__inner:hover{border-color:#d9c8a5;transform:translateY(-3px);box-shadow:0 13px 30px rgba(13,40,72,.08)}
.kos-shop-card__link,.kos-shop-card__link:hover,.kos-shop-card__link:focus{display:flex!important;flex-direction:column;height:100%;text-decoration:none!important;color:inherit!important;background:transparent!important;outline-offset:3px}
.kos-shop-card__media{display:flex!important;position:relative;aspect-ratio:1/1;align-items:center;justify-content:center;overflow:hidden;background:#faf9f7;padding:14px}
.kos-shop-card__media img,.woocommerce ul.products li.product.kos-shop-card .kos-shop-card__media img,
.woocommerce-page ul.products li.product.kos-shop-card .kos-shop-card__media img{display:block!important;float:none!important;margin:0!important;width:100%!important;max-width:100%!important;height:100%!important;object-fit:contain!important;border-radius:0!important;filter:none;transition:transform .25s ease}
.kos-shop-card__inner:hover img{transform:scale(1.035)}
.kos-shop-card__content{display:flex!important;flex-direction:column;flex:1;gap:7px;padding:15px 14px 14px;min-height:143px;text-align:right!important}
.kos-shop-card__category{display:block;font-size:12px;font-weight:500;line-height:1.7;font-family:inherit;color:#a98543;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kos-shop-card__name{display:-webkit-box;min-height:54px;max-height:54px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-weight:700;line-height:1.9;font-family:inherit;color:#183359;unicode-bidi:plaintext}
.kos-shop-card__footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:11px;border-top:1px solid #f0ece5;min-height:45px}
.kos-shop-card__price{font-size:14px;font-weight:700;line-height:1.8;font-family:inherit;color:#173458}
.kos-shop-card__price ins{text-decoration:none;background:transparent!important}
.kos-shop-card__price del{font-size:12px;opacity:.55;display:block}
.kos-shop-card__cta{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:36px;padding:7px 10px;border-radius:10px;border:1px solid #e5d8bf;background:#fbf8f1;color:#7b5826;font-size:13px;font-weight:700;line-height:1.6;font-family:inherit;white-space:nowrap}
.kos-shop-card__cta span{font-size:16px;line-height:1}
.kos-shop-card__inner:hover .kos-shop-card__cta{background:#f1e7d5;border-color:#cfb989}
.kos-shop-card__link:focus-visible{outline:2px solid #ad8b54;outline-offset:-2px}
/* Theme-loop fallback: never show a stale-price technical warning or multiple floating carts in a normal gold archive card. */
body.kos-catalog-no-price.kos-catalog-archive .woocommerce li.product.kos-imported-product:not(.kos-shop-card) .price,
body.kos-catalog-no-price.kos-catalog-archive .woocommerce li.product.kos-imported-product:not(.kos-shop-card) .kos-price-unavailable,
body.kos-catalog-no-price.kos-catalog-archive .woocommerce li.product.kos-imported-product:not(.kos-shop-card) .add_to_cart_button,
body.kos-catalog-no-price.kos-catalog-archive .woocommerce li.product.kos-imported-product:not(.kos-shop-card) .ajax_add_to_cart{display:none!important}
/* On the shop/category page, don't force a new grid width: the active theme owns the outer columns. */
@media (max-width:1024px){.kos-shop-card__media{padding:12px}.kos-shop-card__content{padding:13px 12px;min-height:130px}.kos-shop-card__name{font-size:14px;min-height:52px;max-height:52px}}
@media (max-width:767px){.kos-shop-card__inner{border-radius:13px}.kos-shop-card__media{padding:8px}.kos-shop-card__content{padding:11px 10px;min-height:126px;gap:5px}.kos-shop-card__name{font-size:14px;line-height:1.8;min-height:51px;max-height:51px}.kos-shop-card__category{font-size:12px}.kos-shop-card__cta{font-size:12px;padding:8px 5px;min-height:34px}}
@media (prefers-reduced-motion:reduce){.kos-shop-card__inner,.kos-shop-card__media img{transition:none!important}}
